Minifying not working for Cloud environments
Hi everyone,
I´m trying to minify the clientlibs for my AEM cloud project. I achived the goal in my local environment by adding the next osgi config:
com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.cfg.json
{
"htmllibmanager.minify": true,
"htmllibmanager.gzip": true,
"htmllibmanager.debug": false,
"htmllibmanager.processor.js": [
"min:gcc;obfuscate=true;languageIn=ECMASCRIPT_NEXT;languageOut=ECMASCRIPT_NEXT;compilationLevel=simple"
],
"htmllibmanager.processor.css": [
"min"
],
"htmllibmanager.timing": false
}
In my local environment it is working fine (both publish and author instance). However when this config is deployed to a cloud environment (development and also tried in rde) it seems to do nothing, the clientlibs are not minified. I have checked the osgi config in the cloud environments via developer console and it is correctly deployed.
Has anybody faced anything similar? There is something that is blocking the minify in this environments?
Thank you all in advance for your help 🙂

