mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 22:36:05 +02:00
tweak vite.config.js
This commit is contained in:
+2
-3
@@ -44,7 +44,7 @@ export default defineConfig(() => ({
|
|||||||
lightningcss: {
|
lightningcss: {
|
||||||
minify: true,
|
minify: true,
|
||||||
targets: {
|
targets: {
|
||||||
chrome: 135
|
chrome: 140
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -57,12 +57,11 @@ export default defineConfig(() => ({
|
|||||||
strictPort: true
|
strictPort: true
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
target: 'esnext',
|
target: 'chrome140',
|
||||||
outDir: '../build/html',
|
outDir: '../build/html',
|
||||||
cssMinify: 'lightningcss',
|
cssMinify: 'lightningcss',
|
||||||
license: true,
|
license: true,
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
copyPublicDir: false,
|
|
||||||
reportCompressedSize: false,
|
reportCompressedSize: false,
|
||||||
chunkSizeWarningLimit: 5000,
|
chunkSizeWarningLimit: 5000,
|
||||||
modulePreload: true,
|
modulePreload: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user