Simple react starter with the following config:
- React, ReactDOM
- Webpack 4
- Babel with es2015 and react presets
- Bootstrap (css only, loaded from a cdn in
index.html) - work with
.jsor.jsxfiles - main
application.scssstylesheet is imported inindex.jsas a module to enjoy hot reloading
To start the local Webpack Dev Server (usually on port 8080):
yarn startTo lint all JavaScript files in the src folder:
yarn lintTo build and deploy your app to gh-pages branch on the GitHub repo:
yarn deploy