- Handles building for production & development environments
- Sass (scss) for styles
git clone https://github.com/christiannaths/webpack-react-boilerplate && cd webpack-react-boilerplate
npm install
Webpack config files are found in the ./config/
directory, and are loaded
into the main webpack config depending on the value of NODE_ENV
. Currently
only development
and production
are supported.
npm start
Runs a dev server on localhost:3000 with BrowserSync attachednpm run build
Builds your app in development mode to./dist/
directory
npm run build:production
Builds your app for production