fix: ensure that the correct components are dynamically imported

This commit is contained in:
Vben
2021-03-01 23:01:37 +08:00
parent 3b8ca420c7
commit b476e1c84c
6 changed files with 32 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ export interface ViteEnv {
VITE_BUILD_COMPRESS: 'gzip' | 'brotli' | 'none';
VITE_LEGACY: boolean;
VITE_USE_IMAGEMIN: boolean;
VITE_DYNAMIC_IMPORT: boolean;
}
// Read all environment variable configuration files to process.env