fix: remove service worker (#654)

This commit is contained in:
Dan Ditomaso
2025-06-16 09:39:13 -04:00
committed by GitHub
parent 26d5c0a08a
commit 6cc6986904
+11 -11
View File
@@ -17,17 +17,17 @@ try {
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
react(), react(),
VitePWA({ // VitePWA({
registerType: "autoUpdate", // registerType: "autoUpdate",
strategies: "generateSW", // strategies: "generateSW",
devOptions: { // devOptions: {
enabled: false, // enabled: true,
}, // },
workbox: { // workbox: {
cleanupOutdatedCaches: true, // cleanupOutdatedCaches: true,
sourcemap: true, // sourcemap: true,
}, // },
}), // }),
viteStaticCopy({ viteStaticCopy({
targets: [ targets: [
{ {