8 Dec 2008 2:40 AM #1
How can I disable JSMin compression?
I'm looking for ability to turn off files minification. Right now JSBuilder compress all project files while building but I really don't want my files to be minified with JSMin as I'm using YUI Compressor. Does anyone knows how can I disable that complression/minification? I didn't find anything about that in optionsm ;(
Please, advice. Thanks!
18 Feb 2009 10:47 AM #2
I am looking for a similar solution as well. Is it possible to turn off minification.
Or Is there any tool just to combine files ?
3 Apr 2009 2:56 PM #3
however if anyone has already sovled this problem please let me know
5 Apr 2009 7:02 PM #4
Isn't it just a matter of turning off the option 'Compress the source files and copy them to the following directory'
6 Apr 2009 6:33 AM #5
I realize what I want to do is not as simple as flipping a switch. Is anyone familiar with how js-builder builds the .jsb files? Is it based on doc comments? Does it look for "Ext.extend" to determine what order to write out it's <include ...> tags ?
7 Apr 2009 5:24 PM #6
http://getsprockets.org/installation_and_usage might be doing what you are after.
8 Apr 2009 10:41 AM #7
for better or worse I ended up writing some perl classes that look for js doc tags @class and @extends as well as looking for the Ext.extend string. Given a source folder it recurses and finds all .js files, parses them, finds dependencies based on those 2 factors just mentioned, and writes out the <include...> tags in the order they should be in. This gives me one click rebuild of my libs and gives me code complete in spket once i reload my js profile.
I didn't spend too much time looking at Sprockets, but it seems that it concats the js files into one file, which is not exactly what i want. I want to be able to jump between different files in my lib and have code complete and docs available w/o having to resort to the docs page all the time.
thanks to all those who replied
9 Sep 2009 9:59 AM #8
For those who using YUI Compressor and Spket, you can download flowing files and put it into Spket plugins folder
After restart Spket IDE, just choose any files/folders and click mouse right button, in context menu, choose "YUI Compressor..." item. it can compress multi files into one output, and it support jsb and jsb2 format, this feature will include in next version of Spket IDESpket IDE - Development Tool for RIA
22 Mar 2010 11:59 PM #9
23 Jun 2010 12:38 AM #10
Thanks to Eric Suen, that post helped me too with my problem!