Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Versioned Clientlibs but only for css

Avatar

Level 2

is it possible to add version numbers only to the compiled min.css file and not to the .min.js file through ACS-Commons

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @PremIB 

   Is there any specific reason to add version on CSS only?

 

Anyways I dont think you can do that with ACS common but definitely you can write your transformer which will only pick css. You can take reference from ACS common versioned-clientlibs : https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/ad...

 

Thanks

Dipti Chauhan

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @PremIB 

   Is there any specific reason to add version on CSS only?

 

Anyways I dont think you can do that with ACS common but definitely you can write your transformer which will only pick css. You can take reference from ACS common versioned-clientlibs : https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/ad...

 

Thanks

Dipti Chauhan