Dan Ditomaso
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
11 additions and
11 deletions
-
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: [ |
|
|
|
{ |
|
|
|
|