feat:白屏问题
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user