Chore: speed up build

This commit is contained in:
Dreamacro 2021-09-26 16:33:08 +08:00
parent c21d9937fa
commit 87eb6088e5

View File

@ -6,7 +6,7 @@ import tsConfigPath from 'vite-tsconfig-paths'
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
react(), react({ babel: { compact: false } }),
tsConfigPath(), tsConfigPath(),
windiCSS(), windiCSS(),
VitePWA({ VitePWA({
@ -31,4 +31,5 @@ export default defineConfig({
}, },
}, },
}, },
build: { reportCompressedSize: false },
}) })