To check if the Closure Compiler bundle is installed, go to Bundles /system/console/bundles and search for “Google Closure Compiler.”
Here is how you can make Closure Compiler the default minifier in AEM:
1. Go to Apache Felix Config Manager: /system/console/configMgr
2. Search for “Adobe Granite HTML Library Manager”

3. Open the config and make sure “minify” is enabled
4. Set the field “JS Processor Default Configs” to “min:gcc” or “min:gcc;obfuscate=true” to enable obfuscation

5. Voila!
You can subscribe to our weekly digest at the bottom of the page for more AEM tips and tricks.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.