build/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
build/plugins.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
build/index.ts
@@ -14,6 +14,7 @@ VITE_COMPRESSION: 'none', VITE_WEMAP_KEY: '', VITE_CLIENT_ORIGIN: '', VITE_AppType: 'one', }; for (const envName of Object.keys(envConf)) { build/plugins.ts
@@ -35,7 +35,7 @@ import path from 'path'; import Config, from '../config/config'; import Config from '../config/config'; import { ConfigEnv } from 'vite'; import * as hooks from '../src/hooks/global'; import { configCompressPlugin } from './compress';