Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does YUI compressor support bundling of multiple files?

I created a moduling system using jQuery. Is there any build system something similar 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.

like image 868
shazmoh Avatar asked Feb 24 '10 20:02

shazmoh


People also ask

How do I use YUI Compressor in eclipse?

Step1: Add "yuicompressor" and "minify. bat" (given below) to your project. Step2: Configure an External Tool named "Minify" (Go to menu Run -> External Tools -> External Tools Configurations). Show activity on this post.


1 Answers

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

like image 140
jrburke Avatar answered Nov 03 '22 00:11

jrburke