Is it possible to enable clientLibs minification for only one project in an AEM instance where there are multiple projects?
For eg: In an AEM instance there are multiple projects like:
If we enable minification in the Felix console config manager, it will be applicable for all the projects. In the above case is it possible to enable minification only for
Solved! Go to Solution.
Viv S wrote...
is it possible to enable minification only for
/apps/<division1>/<subdivision1>/<project1>
The component where you are including the client library add a selector ".min" & will get minified.
You minifya clientlib using the option discussed here:
http://aem.matelli.org/client-library-configuration-minify-and-debug/
Once that is set - its applicable to all projects.
Views
Replies
Total Likes
Viv S wrote...
is it possible to enable minification only for
/apps/<division1>/<subdivision1>/<project1>
The component where you are including the client library add a selector ".min" & will get minified.
Sham HC wrote...
Viv S wrote...
is it possible to enable minification only for
/apps/<division1>/<subdivision1>/<project1>
The component where you are including the client library add a selector ".min" & will get minified.
We are including the client library using the <cq:includeClientLib> tag. It looks something like this:
<cq:includeClientLib categories="sample.clientlibs"/>
Where should we add the .min selector here?
Views
Replies
Total Likes
Adding to Sham's comment,
Please have a look at the blog Sham posted earlier:
Link:- http://aemfaq.blogspot.in/2013/05/whats-new-in-aem-html-library-manager.html
Also look at this old forum post:-
//Is there a way to disable JS minification for a particular clientlib or JS file?
Excellent answer Sham "The component where you are including the client library add a selector ".min" & will get minified."
~kautuk
Views
Replies
Total Likes
Views
Likes
Replies