ext-all-debug.js vs ext-all-dev.js [英] ext-all-debug.js vs ext-all-dev.js
本文介绍了ext-all-debug.js vs ext-all-dev.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ext-all-debug.js是主要用于开发和调试。
使用ext-all-dev.js会有任何优势吗?
请澄清。
解决方案
- ext-all.js:评论
- ext-all-debug.js:未分类,没有文档/评论
- -all-debug-w-comments.js:未分类,文档/评论
- ext-all-dev.js:通过文档/评论,使用控制台警告,例如如果您使用不推荐的功能/配置或存在配置问题。
ext-all-dev.js
中的其他控制台输出可能非常有帮助,因此我建议您进行开发。 (或ext-all-debug-w-comments.js
)在功能上与ext-all.js
相同,允许更好的调试,因为它没有被细化。我建议它进行测试。 - ext-all.js :显然是你想在生产中使用的,因为文件比其他文件。
What is the main difference between ext-all-debug.js and ext-all-dev.js?
"ext-all-debug.js" is mainly used for development & debugging.
Using "ext-all-dev.js" will have any advantage?
Please clarify.
解决方案
- ext-all.js: minified, no docs/comments
- ext-all-debug.js: non-minified, no docs/comments
- ext-all-debug-w-comments.js: non-minified, with docs/comments
- ext-all-dev.js: non-minified, with docs/comments, with console warnings, e.g. if you're using deprecated functions/configs or there are configuration problems. The additional console output in
ext-all-dev.js
can be really helpful, so I'd recommend it for development. - ext-all-debug.js: (or
ext-all-debug-w-comments.js
) is functionally the same asext-all.js
, allows better debugging since it's not minified. I'd recommend it for testing purposes. - ext-all.js: obviously is what you want to use in production, since the file is much smaller than the other files.
这篇关于ext-all-debug.js vs ext-all-dev.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文