[英]Turn off compilation of files during Minification during Dojo build
I am using Dojo Build system to build my project and minify the files. 我正在使用Dojo Build系统来构建我的项目并缩小文件。 I am getting an error during the build and am unable to locate the source.
在构建期间出现错误,无法找到源。 So I want to skip the compilation/optimization step during the build and only need the minification to work.
所以我想在构建过程中跳过编译/优化步骤,只需要缩小即可。
Is this possible? 这可能吗? and if yes, how?
如果是的话,如何?
THanks 谢谢
Minification involves compilation, because system actually compiles your JavaScript to internal representation, optimizes this machine-readable form and then outputs it back, generating new JS source from it. 最小化涉及到编译,因为系统实际上会将您的JavaScript编译为内部表示形式,优化此机器可读形式,然后将其输出回去,从而从中生成新的JS源。 Therefore no, you can't minify without compilation.
因此,不行,没有编译就无法缩小。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.