since ‎02-02-2018
‎01-05-2020
mateusp92385321
Level 2
Re: Excluding specific file from AEM js minification
Avatar

mateusp92385321

mateusp92385321
- Adobe Experience Manager
You can do this if your AEM version is 6.2 or above.Check at this thread: https://forums.adobe.com/message/10405673#10405673

Views

245

Likes

0

Replies

0
Re: Is there a way to disable JS minification for a particular clientlib or JS file?
Avatar

mateusp92385321

mateusp92385321
- Adobe Experience Manager
Change the minification engine for client libraries in AEMAccording to the documentation above, you can change the minification engine for a specific clientlib on AEM version 6.2 and above.Following up on that, to disable minification, you could add the following property and values to your clientlib .content.xml:jsProcessor="[default:none, min:none]"

Views

2.3K

Likes

6

Replies

0
/etc.clientlibs/clientlibs/granite/utils.js is changing assets request url
Avatar

mateusp92385321

mateusp92385321
- Adobe Experience Manager
On our website we have added a clientlib to deal with cookies on our page, and our requirement was to put it on the of the page so it can block cookies creation unless the user allow cookies. To do this, we placed it above the granite libraries:...We place our library on an external resource (other server). When we did this, we have found an issue with granite in which somehow granite utils changes the paths of some resources in our page. For example, /etc/clientlibs/templates/projectux/tile.ht...

Views

1.6K

Likes

0

Replies

1