Browse Source

fix: remove service worker

pull/654/head
Dan Ditomaso 1 year ago
parent
commit
bcbcac2d82
  1. 22
      vite.config.ts

22
vite.config.ts

@ -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: [
{

Loading…
Cancel
Save