初始化页面结构

This commit is contained in:
Andy Leong
2024-01-09 17:27:03 +08:00
parent eddb210dc5
commit ad07452795
11 changed files with 78 additions and 117 deletions

View File

@@ -122,9 +122,9 @@ export default defineConfig(({ command, mode }) => {
chunkSizeWarningLimit: 1500,
terserOptions: {
compress: {
//生产环境时移除console.log()
drop_console: false,
drop_debugger: true,
//生产环境时移除打印日志
drop_console: mode == 'production' ? true : false,
drop_debugger: mode == 'production' ? true : false,
},
},