Disabling minification


You are looking at documentation for an older release. Not what you want? See the current release documentation.

In eXo Platform, Javascript scripts declared as modules are minified by default in order to reduce their size and therefore the data volume when downloaded in web page.

This minification may lead to conflicts and errors when the script is incompatible with eXo Platform minifier (Google Closure Compiler).

Starting from eXo Platform 5.0, this minification can be disabled with the new module attribute 'minify' :


This option could be set in gatein-resources.xml in script tag:



We highly recommend to always enable scripts minification. If you have conflicts, take care to not deactivate minification in the whole platform.

To use this new option, the new XSD 1.4 should be used.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus