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

extract-text-webpack-plugin #326

Open huangchangalex opened 7 years ago

huangchangalex commented 7 years ago

hi everyone, I need some help.. I use extra-text-webpack-plugin to separate css files from JS and when I excuted 'npm run dist' ,it was done and a new css file was maked.However when I excuted 'npm start 'to run the program without assets files ,something wrong happened. like that: ERROR in ./src/styles/App.css Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example

appreciate to anyone who can help me!