We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7544ce commit cfda0c6Copy full SHA for cfda0c6
tsup.config.ts
@@ -13,8 +13,8 @@ export const options: Options = {
13
clean: true, // 是否清理输出目录
14
dts: false, // 是否生成 .d.ts 文件
15
outDir: 'lib/scripts', // 输出目录
16
- treeshake: false, // 树摇优化
17
- minify: false, // 压缩代码
+ treeshake: true, // 树摇优化
+ minify: true, // 压缩代码
18
external: [],
19
ignoreWatch: [],
20
noExternal: ['decompress'],
0 commit comments