use a fixed browser version as the build target

This commit is contained in:
MaysWind
2025-10-06 21:49:12 +08:00
parent 76fff27b3f
commit 697f69d5d7
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -195,6 +195,12 @@ export default defineConfig(() => {
})
],
build: {
target: [
'chrome91',
'edge91',
'firefox91',
'safari15.4'
],
outDir: BUILD_DIR,
sourcemap: false,
assetsInlineLimit: 0,