Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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