mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-07 20:58:11 +00:00
feat(route): add hideChildrenInMenu option close #346
This commit is contained in:
@@ -18,7 +18,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
// The boolean type read by loadEnv is a string. This function can be converted to boolean type
|
||||
const viteEnv = wrapperEnv(env);
|
||||
|
||||
const { VITE_PORT, VITE_PUBLIC_PATH, VITE_PROXY, VITE_DROP_CONSOLE, VITE_LEGACY } = viteEnv;
|
||||
const { VITE_PORT, VITE_PUBLIC_PATH, VITE_PROXY, VITE_DROP_CONSOLE } = viteEnv;
|
||||
|
||||
const isBuild = command === 'build';
|
||||
|
||||
@@ -45,7 +45,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
build: {
|
||||
// minify: 'esbuild',
|
||||
outDir: OUTPUT_DIR,
|
||||
polyfillDynamicImport: VITE_LEGACY,
|
||||
terserOptions: {
|
||||
compress: {
|
||||
keep_infinity: true,
|
||||
|
Reference in New Issue
Block a user