Minimal React boilerplate
- React 16
- React Router 5
- Webpack 4
- CSS Modules
- Code splitting with React Lazy/Suspense
- Webpack Bundle Analyzer
- Hot Module Replacement
Install dependencies
$ yarn
Run development server
$ yarn dev
$ yarn build
Will create a dist
directory containing your compiled code.
Run production server
$ yarn start
Run in development
$ yarn dev:bundleanalyzer
Run on the production oprimized build
$ yarn build:bundleanalyzer