Skip to content

Commit cfda0c6

Browse files
committed
fix: build minify true
1 parent b7544ce commit cfda0c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export const options: Options = {
1313
clean: true, // 是否清理输出目录
1414
dts: false, // 是否生成 .d.ts 文件
1515
outDir: 'lib/scripts', // 输出目录
16-
treeshake: false, // 树摇优化
17-
minify: false, // 压缩代码
16+
treeshake: true, // 树摇优化
17+
minify: true, // 压缩代码
1818
external: [],
1919
ignoreWatch: [],
2020
noExternal: ['decompress'],

0 commit comments

Comments
 (0)