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({
plugins: [
react(),
VitePWA({
registerType: "autoUpdate",
strategies: "generateSW",
devOptions: {
enabled: false,
},
workbox: {
cleanupOutdatedCaches: true,
sourcemap: true,
},
}),
// VitePWA({
// registerType: "autoUpdate",
// strategies: "generateSW",
// devOptions: {
// enabled: true,
// },
// workbox: {
// cleanupOutdatedCaches: true,
// sourcemap: true,
// },
// }),
viteStaticCopy({
targets: [
{