/react-webpack-boilerplate

Webpack 4 Boilerplate

Primary LanguageJavaScript

Webpack 4 Boilerplate

One of many React Webpack boilerplates out there in the world. This one comes with:

  • React
  • Unit Tests (Jest)
  • Babel
  • HMR (Hot Module Replacement)
  • Sass
  • ESLint
  • Dev script (spin up a server and bundle)
  • Prod script (css/js minification, content hashing)

Installation and Usage

Clone the project and run npm install.

Unit Tests

npm run test

Development

npm run dev

Production

npm run prod