ext-all-debug.js vs ext-all-dev.js

百般思念 提交于 2019-12-05 11:26:00
matt
  • 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 as ext-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 is not minified, has documentation, but no console output. ext-all-dev.js is not minified, has documentation and console output.

ext-all.js is minified, has no documenation and no console output.

the debug version of Ext is not compressed and is a lot easier to read/step through in a debugger. You might also consider using ext-all-debug-w-comments.js.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!