Just wanted a simple barebones React application boilerplate that:
- Can transpile
- Specifically because JSX
- But also so you can use the latest JavaScript features
- Uses sourcemaps
- Uses Hot Module Replacement
- Can build a basic production
dist/
output for easy deployment - Doesn't have a bunch of unnecessary dependencies
npm install
- to install the dependenciesnpm run dev
- to run the application in dev mode (using webpack-dev-server)- Open up http://localhost:3000 to view the app
- Open up
src/App.js
and hack away. Hit save and enjoy the magic!
npm run dist
- to generate the production version of the application's script(s)