diff --git a/vite.config.ts b/vite.config.ts index 0bf78c45..64cb6ead 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -64,7 +64,7 @@ export default defineConfig({ VitePWA({ registerType: 'autoUpdate', workbox: { - globPatterns: (process.env.VITE_VERCEL_DEPLOY ? ["**\/*.{css,html}"] : ["**\/*.{js,wasm,css,html}"]), + globPatterns: (process.env.VITE_VERCEL_DEPLOY ? ['**\/*.{css,html}'] : ['**\/*.{js,wasm,css,html}']), maximumFileSizeToCacheInBytes: 25 * 1024 ** 2, }, strategies: 'generateSW', @@ -144,7 +144,7 @@ export default defineConfig({ build: { target: 'esnext', // sourcemap: !process.env.VERCEL, - minify: !process.env.VERCEL, + // minify: !process.env.VERCEL, reportCompressedSize: !process.env.VERCEL, // cssMinify: false, // modulePreload: false,