Skip to content

React, Webpack 2, Babel, Hot Module Replacement (HMR) and SASS.

License

Notifications You must be signed in to change notification settings

JHinW/react-webpack-babel-starter

 
 

Repository files navigation

React Webpack Babel Starter

Minimal starter kit with hot module replacement for fast development.

Main features

Additional features

Installation

  1. Clone/download repo
  2. npm install

Usage

General

npm start

  • Compiles the app
  • Starts a web server hosting the app @ http://localhost:8080
  • Watches for changes and injects them without reloading the browser

Other commands

  • npm run lint - Run JavaScript and SASS linter
  • npm run lint:js - Run JavaScript linter
  • npm run lint:sass - Run SASS linter
  • npm run test - Run tests (Jest)

TODO

  • Build script
    • Asset revisioning / cache bursting
  • React router

Resources

About

React, Webpack 2, Babel, Hot Module Replacement (HMR) and SASS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.2%
  • CSS 31.9%
  • JavaScript 18.8%
  • Other 0.1%