Is there a way to disable JS minification for a particular clientlib or JS file?
The YUI Compressor cannot compress AngularJS as Angular has some methods such as int(...) that are considered to be reserved words by the YUI Compressor:
15.07.2014 15:32:58.341 *ERROR* [10.66.39.79 [1405402378150] GET /etc/designs/sitesmart/vendor/angular.min.46bb57e637db6fea063f889350401764.js HTTP/1.1] com.day.cq.widget.impl.HtmlLibraryManagerImpl Error during assembly of library. org.mozilla.javascript.EvaluatorException: Compilation produced 52 syntax errors.
You can reproduce the compression issue here: http://refresh-sf.com/yui/ (just upload the angular.js file).
In order to fix this issue, is there a way to skip minification for some specific JS files and/or clientlibs?