最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

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

matteradmin6PV0评论

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

Post a comment

comment list (0)

  1. No comments so far