react-webpack-generators / generator-react-webpack

Yeoman generator for ReactJS and Webpack
http://newtriks.com/2013/12/31/automating-react-with-yeoman-and-grunt/
MIT License
2.88k stars 355 forks source link

V4 -- Add --csscname option to component subgen #318

Open sthzg opened 7 years ago

sthzg commented 7 years ago

Example

yo react-webpack:component common/modal/Header --csscname=modal__header
# overrides auto-generated class name on the component as well as on the generated test-file

Will PR it as soon as possible / please comment if you have objections.