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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Versioned Clientlibs but only for css

PremIB
Level 2
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

ACS Commons ClientLibs Versioned ClientLibs
1 Accepted Solution
Dipti_Chauhan
Correct answer by
Community Advisor
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
Dipti_Chauhan
Correct answer by
Community Advisor
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