Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
AEM with version 6.4
What is the process of minifying the js and css inside the clientlibs folder
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hey @ArchanaVA,
Other than the HTML Library Manager OSGi configuration (video tutorial), where the AEM publish instance will be doing the work to minification to CSS and JS, you can also try minifying your CSS and JS assets in the Apache webserver; utilising the Apache PageSpeed module, (installation documentation).
I hope this helps!
Zugriffe
Antworten
Likes gesamt
Hi @ArchanaVA
Please do the below steps:
Please make sure this configuration has been added via code in your development environments.
Zugriffe
Antworten
Likes gesamt
Thanks @ArpitVarshney
I have enabled the minify and also include jsProcessor in xml file of ClientLibrary
jsProcessor="[default:none,min:gcc;languageIn=ECMASCRIPT_2015;compilationLevel=whitespace]"
When I build in console Im facing JS errors
Zugriffe
Antworten
Likes gesamt
@ArchanaVA Can you share the error screenshot?
Zugriffe
Antworten
Likes gesamt
Zugriffe
Antworten
Likes gesamt
The following document may be helpful:
Try rebuilding the clientlibs via File System, as per: https://helpx.adobe.com/ca/experience-manager/kb/How-to-force-a-recompilation-of-all-Sling-scripts-j...
* Moreover, what kind of errors do you see in the error.log file?
Zugriffe
Antworten
Likes gesamt
Hey @ArchanaVA,
Other than the HTML Library Manager OSGi configuration (video tutorial), where the AEM publish instance will be doing the work to minification to CSS and JS, you can also try minifying your CSS and JS assets in the Apache webserver; utilising the Apache PageSpeed module, (installation documentation).
I hope this helps!
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten