开发者

Does YUI compressor support bundling of multiple files?

开发者 https://www.devze.com 2022-12-20 23:45 出处:网络
I created a moduling system using jQuery. Is there any build system something simi开发者_Go百科lar to Dojo\'s Shrinksafe, that could combine all my module files into one single file for production?

I created a moduling system using jQuery. Is there any build system something simi开发者_Go百科lar to Dojo's Shrinksafe, that could combine all my module files into one single file for production?

Does YUI Compresser is all about single file compression or does it support bundling the module files as well? JavascriptMVC uses a custom build of Shrinksafe. Any links or info on that direction will also help. Thanks in advance.


RequireJS has an optimization tool that can combine multiple files together, and it uses Google's Closure Compiler to do JavaScript minification/comment stripping. The optimization tool was based on the work I did in the Dojo build system, but it is something that works more stand-alone.

Disclaimer: I develop RequireJS

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号