google / postcss-rename

Replace class names based on a customizable renaming scheme.
Apache License 2.0
125 stars 18 forks source link

How to use this with Gulp? #25

Closed ghost closed 4 years ago

ghost commented 4 years ago

Please add an example to the readme

nex3 commented 4 years ago

You can use this the same way you use any other PostCSS plugin, with gulp-postcss. Note that that won't rewrite class names in your JS or HTML, though; someone else will need to write an out-of-the box solution available for that.