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 { virtual } from "./virtual";
|
||||||
import { demo } from "./demo";
|
import { demo } from "./demo";
|
||||||
|
|
||||||
export function cool() {
|
export function cool(test?: boolean) {
|
||||||
return [
|
return [
|
||||||
// 基础
|
// 基础
|
||||||
base(),
|
base(),
|
||||||
// 虚拟模块
|
// 虚拟模块
|
||||||
virtual(),
|
virtual(),
|
||||||
// demo 官方示例,代码片段
|
// demo 官方示例,代码片段
|
||||||
demo(true)
|
demo(test)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
|
|||||||
vue(),
|
vue(),
|
||||||
compression(),
|
compression(),
|
||||||
vueJsx(),
|
vueJsx(),
|
||||||
cool(),
|
cool(false), // 是否测试模式
|
||||||
visualizer({
|
visualizer({
|
||||||
open: false,
|
open: false,
|
||||||
gzipSize: true,
|
gzipSize: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user