feat(menu): 支持菜单项显示排序编号并优化构建配置
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 2m11s
CI/CD Pipeline / build-and-deploy (push) Successful in 4m23s

This commit is contained in:
严浩
2025-10-25 19:06:05 +08:00
parent 63556f7e82
commit cc49ce2beb
3 changed files with 47 additions and 31 deletions

View File

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