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:
- Go to Apache Felix Config Manager: /system/console/configMgr
- Search for “Adobe Granite HTML Library Manager”
- Open the config and make sure “minify” is enabled
- Set the field “JS Processor Default Configs” to “min:gcc” or “min:gcc;obfuscate=true” to enable obfuscation
You can subscribe to our weekly digest at the bottom of the page for more AEM tips and tricks.