JPeer264 / node-rename-css-selectors

📝 Rename css classes and id's in files
MIT License
65 stars 9 forks source link

Does this plugin optimize the library so most frequent classes get one letter not two? #80

Closed universemaster closed 2 years ago

universemaster commented 2 years ago

Step 2 from the instructions for rcs-core are to run rcs.optimize().

Please excuse my ignorance, but does this plugin node-rename-css-selectors actually optimize the library so that the most used classes get one letter, not two?

JPeer264 commented 2 years ago

Hey @universemaster

Actually you are right, I totally forgot to add the optimization in this library. Thanks for pointing this out

JPeer264 commented 2 years ago

Available in v4.1.0. It is enabled by default and can be disabled by passing the option: optimize: false