cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Suggested way to add new less files to be compiled

nicolabeghin
Product and Topic Expert
Product and Topic Expert
0 Likes
1,311

Hi anyone any hint on how to add additional less files to be compiled outside of the standard style.css/addon.css ones?

thanks nicola

Accepted Solutions (0)

Answers (1)

Answers (1)

nicolabeghin
Product and Topic Expert
Product and Topic Expert
0 Likes

We found that the only way is to customize the yacceleratorstorefront_lesscss ant macro in order to include less files differents than style.less ie. changing to *style.less will also compile client-style.less to client-style.css

from yacceleratorstorefront/buildcallbacks.xml: