feat:白屏问题

This commit is contained in:
LHY\18810
2025-03-18 19:51:41 +08:00
parent 5371f41a2f
commit 33aadb2121
7 changed files with 70 additions and 24 deletions

View File

@@ -60,6 +60,16 @@ export default defineConfig(({ mode }) => {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
build: {
target: ['es2015', 'chrome49', 'edge79', 'firefox68', 'safari11.1'],
minify: 'terser',
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true
}
}
}
};
});