san-cli4.0 配置 terserOptions ,提示不支持 comments 选项 #642
jinjingxuan
started this conversation in
San CLI
Replies: 1 comment
-
san-cli 依赖的 terser 升级了,不支持这样写了,要这样写: exports.terserOptions = {
format: {
comments: false
}
}; san-cli 官网没更新。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
san-cli 4.0,san.config.js 中按照官网配置 terserjs 选项,npm run build 时出错,提示不支持 comments 属性。
Beta Was this translation helpful? Give feedback.
All reactions