Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用UmiJs框架,在它的构建脚本中它会丑化所有文件,我怎样才能防止它丑化它们?
添加 !防止 UmiJs 丑化
'!js/UmiJs.js'
'!js/UmiJs.js
设置环境变量:
COMPRESS=none
文档提到了这个var,但没有特别提到 uglify/minify 以及所涉及的细节。这是使用它的源代码。