最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Does YUI compressor support bundling of multiple files? - Stack Overflow

programmeradmin3浏览0评论

I created a moduling system using jQuery. Is there any build system something similar to Dojo's Shrinksafe, that could bine all my module files into one single file for production?

Does YUI Compresser is all about single file pression 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.

I created a moduling system using jQuery. Is there any build system something similar to Dojo's Shrinksafe, that could bine all my module files into one single file for production?

Does YUI Compresser is all about single file pression 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.

Share Improve this question edited Mar 6, 2010 at 15:12 shazmoh asked Feb 24, 2010 at 20:55 shazmohshazmoh 1,9461 gold badge13 silver badges15 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 7

RequireJS has an optimization tool that can bine multiple files together, and it uses Google's Closure Compiler to do JavaScript minification/ment 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)

  1. 暂无评论