Skip to content

Commit 87f7604

Browse files
committed
fix(Vercel Deploy): minify
1 parent e478da7 commit 87f7604

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default defineConfig({
6464
VitePWA({
6565
registerType: 'autoUpdate',
6666
workbox: {
67-
globPatterns: (process.env.VITE_VERCEL_DEPLOY ? ["**\/*.{css,html}"] : ["**\/*.{js,wasm,css,html}"]),
67+
globPatterns: (process.env.VITE_VERCEL_DEPLOY ? ['**\/*.{css,html}'] : ['**\/*.{js,wasm,css,html}']),
6868
maximumFileSizeToCacheInBytes: 25 * 1024 ** 2,
6969
},
7070
strategies: 'generateSW',
@@ -144,7 +144,7 @@ export default defineConfig({
144144
build: {
145145
target: 'esnext',
146146
// sourcemap: !process.env.VERCEL,
147-
minify: !process.env.VERCEL,
147+
// minify: !process.env.VERCEL,
148148
reportCompressedSize: !process.env.VERCEL,
149149
// cssMinify: false,
150150
// modulePreload: false,

0 commit comments

Comments
 (0)