Greetings,
Since a deployment we made yesterday, js files for our components are appearing minified, we were wondering if we could turn it off.
I understand is better for our security, but our project has strict SLAs and we relied heavily on browser overrides for the most common support tickets and basic developments, so we were wondering if turning it off is an option in AEMAACS.
Thanks in Advance!
Best Regards
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @DanielMa63 ,
Please check if this helps - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/js-minify-in-aem-6-5/m-p/5... ? minify should be false ofcourse.
Regards,
Anupam
Views
Replies
Total Likes
Hello @anupampat we have tried including this config with these values in our project
com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.cfg.json
{
"minify": false,
"debug": true,
"gzip": true
}
But it does not seem to be working so far
Best Regards
Views
Replies
Total Likes
have you tried to use debugClientlibs=true request parameter? Not sure if it sill works with ACS though.
https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-16935
Views
Replies
Total Likes
Yes, that is one thing we tried after opening a ticket to support this was their response
Upon verification, I would like to inform you that there is a change in Clientlibs Minification in AEM as a Cloud Service.
Please find the details below
• Historically, minification in AEM was controlled via the HTML Library Manager OSGi config, either globally or per-clientlib.
• AEM as a Cloud Service now minifies JS files automatically at build time (via FACT tool). • This is due to a recent product update/feature toggle, so code is minified by default—even without code changes on your end. Possible solutions/workarounds: • Global/off for all clientlibs is not possible; global OSGi config is ignored in Cloud Service.
• However it is possible per clientlib: you can disable minification for individual clientlibs by adding this property: jsProcessor: [ "default:none", "min:none" ]
Could you please try the same and provide your feedback?
So far in our testing adding that property in the context.xml of the clientlib has not worked.
It seems minification is the default now for AEMAACS
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies