简体   繁体   English

在Dojo构建期间的Minification期间关闭文件编译

[英]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.

相关问题 在功能运行期间关闭onclick - turn off the onclick during the function runnig 如何在编译/缩小过程中摆脱JavaScript中不必要的调试代码? - How to get rid of unnecessary debugging code in JavaScript during the compilation/minification process? 在 Laravel 混合制作选项中关闭缩小 - Turn off minification in Laravel Mix production options 有没有办法在dojo中关闭本地化? - Is there a way to turn off localization in dojo? 在缩小期间排除调试 JavaScript 代码 - Exclude debug JavaScript code during minification Grunt排除在构建过程中压缩某些文件 - Grunt exclude concating some files during build node / lib中的* .js文件在节点可执行文件的编译过程中被使用? - are *.js files in node/lib used during compilation of the node executable? 使用Firebase Hosting,如何关闭捆绑和缩小功能? - With Firebase Hosting how do I turn off bundling and minification? 如何在Angular 6中构建期间有条件地导入不同的文件? - How to conditionally import different files during build in Angular 6? 编译期间如何访问传递给玉器的数据? - How to access data passed to the jade during compilation?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM