Skip to content
This repository has been archived by the owner on Nov 24, 2017. It is now read-only.

Merging but not minifying JS #31

Closed
mattfordham opened this issue May 21, 2011 · 6 comments
Closed

Merging but not minifying JS #31

mattfordham opened this issue May 21, 2011 · 6 comments

Comments

@mattfordham
Copy link

After running the following command (-s because the jsLint settings don't seem to like Coffeescript generated JS), my files get merge but not minified. I get a 'Unable to access jarfile' message. Maybe that has something to do with it? YUI Compressor is installed, as directed by the instructions.

juicer merge -s main.js

Thanks for any help.

@cjohansen
Copy link
Owner

What is the path to the YUI compressor file? Are you by chance on Windows?

@mattfordham
Copy link
Author

I'm on OSX. The YUI compressor is in ~/.juicer/lib/yui_compressor.

@cjohansen
Copy link
Owner

And you verified that the file was there? YUI has been moving it around lately, maybe your install failed? I just pushed a new version. Try removing ~/.juicer and then gem update juicer and then juicer install yui_compressor.

@mattfordham
Copy link
Author

That fixed it, thanks!

@cjohansen
Copy link
Owner

Great!

@AlexSkrypnyk
Copy link

Actually, there is another question here: how to deliberately merge and not minify (aka aggregate)?
UPDATE: Just found an answer in issue #28
To disable minification and use combining/aggregation of files use--minifyer ""

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants