You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to pass rollup plugins to my build of injectManifest like this, which is what the type is describing:
importreplacefrom'@rollup/plugin-replace';importterserfrom'@rollup/plugin-terser';SvelteKitPWA({strategies: 'injectManifest',// // this affect whether workbox output log and the bundle is minified or not// mode: "development",mode: "production",registerType: "prompt",injectManifest: {globIgnores: ["server/**","**/*.{css,js}"],globPatterns: ["**/*.{ico,jpg,jpeg,png,svg,woff,woff2}"],plugins: [replace({'process.env.NODE_ENV': JSON.stringify('production')}),terser()]}})
But then I get this error:
Error: [InjectManifest] 'plugins' property is not expected to be here.
I am using "@vite-pwa/sveltekit": "0.2.7",
The text was updated successfully, but these errors were encountered:
I tried to pass rollup plugins to my build of injectManifest like this, which is what the type is describing:
But then I get this error:
I am using
"@vite-pwa/sveltekit": "0.2.7",
The text was updated successfully, but these errors were encountered: