tweak vite.config.js

This commit is contained in:
pa
2025-12-25 19:28:08 +09:00
committed by Natsumi
parent 6b0fc02bce
commit b551ce2dcd

View File

@@ -44,7 +44,7 @@ export default defineConfig(() => ({
lightningcss: {
minify: true,
targets: {
chrome: 135
chrome: 140
}
}
},
@@ -57,12 +57,11 @@ export default defineConfig(() => ({
strictPort: true
},
build: {
target: 'esnext',
target: 'chrome140',
outDir: '../build/html',
cssMinify: 'lightningcss',
license: true,
emptyOutDir: true,
copyPublicDir: false,
reportCompressedSize: false,
chunkSizeWarningLimit: 5000,
modulePreload: true,