Is there any way to set the options for YUI Compressor when generating a production build through CMD? Specifically I am interested in preserving line breaks (--line-break) for remote error tracking purposes.
Is there any way to set the options for YUI Compressor when generating a production build through CMD? Specifically I am interested in preserving line breaks (--line-break) for remote error tracking purposes.
I do not believe there is a way to configure YUI compressor.
Mitchell Simoens @LikelyMitch
Modus Create, Senior Frontend Engineer
________________
Need any sort of Ext JS help? Modus Create is here to help!
Check out my GitHub:
https://github.com/mitchellsimoens
Is this something that could be considered for future updates? Without that option using Sencha CMD does not allow for remote JS error reporting, since these reports are pretty useless when they all return line number 1.
+1 for allowing to pass configuration options to YUI (or closure) compiler.
You can specify YUI compressor options if you call Sencha CMD through Ant. http://docs.sencha.com/extjs/4.1.3/#!/guide/command_ant
Essentially, after your compile, run the <x-compress-js linebreak="80"> task.