Stop Liferay minifying css and javascript

This is more of a reminder for me, but may help someone along the way, when testing portlets I sometimes have issues with my javascript or css, but the minifyer puts all the script code and css on one line, so when the browser says what line the error is, it’s not really that helpful.

For css add this to the end of the line:


For javascript, you’ve probably guessed it:


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>