This commit is contained in:
icssoa 2024-01-30 01:37:47 +08:00
parent 8381fe5e0b
commit f1f2982d0b
2 changed files with 3 additions and 3 deletions

View File

@ -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)
]; ];
} }

View File

@ -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,