iter(g89): 演示产物启用保守压缩

This commit is contained in:
HIsheR
2026-10-26 13:09:10 +08:00
parent ce662bd0ff
commit 68ca2ba2a7
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -21,6 +21,8 @@ const result = await esbuild.build({
format: 'iife',
target: 'es2020',
charset: 'utf8', // 中文保留原文,不转义为 \uXXXX
minifyWhitespace: true, // 保守压缩:去空白与多余括号,保留标识符,产物仍可读可调
minifySyntax: true,
write: false,
legalComments: 'none',
alias: {