Is there a way to put newlines between seperate files for js/css?

Aug 25, 2009 at 4:19 PM

Thanks for this project!  I have looked into a number of solutions for minifying javascript/css on the fly, and this works the most smoothly with the least # of dependancies.

Is there any way to split the output into multiple lines?  This would be useful for debugging purposes (I would know if an error happened on line 4 it was in file2.js or whatever).  Plus, it would make it easier for me to keep track of the relative size for each file.  It would look like:

 

/*file1.js*/

function() {};.....

/*file2.js*/

function() {};..... 

 

or:

 

function() {}...

function() {}...

 

Anyhow, thanks again for the project!

 

Coordinator
Aug 26, 2009 at 3:11 AM

Heya dude - thanks for checking out this project.

um.. i don't understand what you mean :( if u're trying to debug stuff, i would recommend u don't obfuscate/minify, but just combine the files .. IF you really needed to. I don't get it. This process is only for testing/production. Now, if you're getting some errors during testing or on live/production, then by changing the output to be something else (eg. functions on seperate lines, etc) ... that also defeats the purpose of using this .. because that output isn't the same as the intended minifyed and/or combined output.

did that make sence?

maybe i misunderstood the question (most likely).