refactor(env): 统一环境变量命名规范
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 3m46s
CI/CD Pipeline / build-and-deploy (push) Successful in 4m5s

This commit is contained in:
严浩
2025-10-28 19:18:00 +08:00
parent 35640a2ade
commit 33e8a4a5d6
6 changed files with 22 additions and 19 deletions

View File

@@ -17,8 +17,8 @@ export default defineConfig(async (configEnv) => {
return {
base: env.VITE_APP_BASE,
build: {
minify: env.VITE_APP_BUILD_MINIFY === 'true' ? undefined /* 即默认 */ : false, // 默认: 'terser'
sourcemap: env.VITE_APP_BUILD_SOURCE_MAP === 'true',
minify: env.VITE_BUILD_MINIFY === 'true' ? undefined /* 即默认 */ : false, // 默认: 'terser'
sourcemap: env.VITE_BUILD_SOURCE_MAP === 'true',
rollupOptions: viteConfigRollupOptions,
},
css: {