测试全流程

This commit is contained in:
XGL-THINKPAD-X1\rucky
2024-01-20 17:26:05 +08:00
parent 28dc4ec60d
commit 480e5016e3
8 changed files with 20 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ export default defineConfig(({ command, mode }) => {
return {
define: {
// enable hydration mismatch details in production build
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: mode == 'production' ? 'false' : 'true',
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: mode == 'prd' ? 'false' : 'true',
},
plugins: [
@@ -125,8 +125,8 @@ export default defineConfig(({ command, mode }) => {
terserOptions: {
compress: {
//生产环境时移除打印日志
// drop_console: mode == 'production' ? true : false,
// drop_debugger: mode == 'production' ? true : false,
// drop_console: mode == 'prd' ? true : false,
// drop_debugger: mode == 'prd' ? true : false,
},
},