We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to specify the browser compatibility version when building the serviceWorker file.
// vite-plugin-pwa/src/modules.ts line 112 await build({ root: viteOptions.root, base: viteOptions.base, resolve: viteOptions.resolve, // don't copy anything from public folder publicDir: false, build: { sourcemap: viteOptions.build.sourcemap, lib: { entry: options.swSrc, name: 'app', formats: [format], }, rollupOptions: { ...rollupOptions, plugins, output: { entryFileNames: options.filename, }, }, outDir: options.outDir, emptyOutDir: false + target: viteOptions.build.target // or + target: options.target },
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I need to specify the browser compatibility version when building the serviceWorker file.
Example
The text was updated successfully, but these errors were encountered: