Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 603 Bytes

README.md

File metadata and controls

55 lines (37 loc) · 603 Bytes

react-playground

Minimal React boilerplate

Features

  • React 16
  • React Router 5
  • Webpack 4
  • CSS Modules
  • Code splitting with React Lazy/Suspense
  • Webpack Bundle Analyzer
  • Hot Module Replacement

Usage

Install dependencies

$ yarn

Run development server

$ yarn dev

Building

$ yarn build

Will create a dist directory containing your compiled code.

Run production server

$ yarn start

Webpack Bundle Analyzer

Run in development

$ yarn dev:bundleanalyzer

Run on the production oprimized build

$ yarn build:bundleanalyzer