git clone https://github.com/em-cd/webpack-project-boilerplate
cd webpack-project-boilerplate
npm install
npm run dev
open http://localhost:8080
Edit app/index.js and app/main.scss, create components, have fun. This boilerplate is for experimenting with webpack and react, and is probably unsuitable for production usage.
- react
- react-dom
- babel-loader (& its peer-dependency babel-core)
- babel-preset-es2015
- babel-preset-react
- css-loader
- style-loader
- sass-loader (& its peer-dependency node-sass)
- extract-text-webpack-plugin
- html-webpack-plugin - for automatically generating an index.html