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

Updated functionality related to PostCSS - #307 #319

Open sthzg opened 7 years ago

sthzg commented 7 years ago

Note this PR depends on https://github.com/react-webpack-generators/react-webpack-template/pull/77. Its test will pass once the PR from the template repo is released.


As communicated in #307 and on the related PR from @stylesuxx on the template repo we can use PostCSS` more recent config file feature instead of modifying our config.

If users prompt the PostCSS question with yes, deps for postcss and postcss-loader are added to their package.json.

The updated tests check that