mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
8381fe5e0b
commit
f1f2982d0b
@ -2,13 +2,13 @@ import { base } from "./base";
|
||||
import { virtual } from "./virtual";
|
||||
import { demo } from "./demo";
|
||||
|
||||
export function cool() {
|
||||
export function cool(test?: boolean) {
|
||||
return [
|
||||
// 基础
|
||||
base(),
|
||||
// 虚拟模块
|
||||
virtual(),
|
||||
// demo 官方示例,代码片段
|
||||
demo(true)
|
||||
demo(test)
|
||||
];
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
|
||||
vue(),
|
||||
compression(),
|
||||
vueJsx(),
|
||||
cool(),
|
||||
cool(false), // 是否测试模式
|
||||
visualizer({
|
||||
open: false,
|
||||
gzipSize: true,
|
||||
|
Loading…
Reference in New Issue
Block a user