npm start
- Start a dev server with hot-reload enabled.
npm run build
- Build a production grade distribution binary to ./dist
npm run build:analyze
- Build a production grade distribution binary and analyzer reports to ./dist
npm run test-build
- Test the production binary via an http-server
.
npm run test-build:analyze
- Test the analyzer production binary via an http-server
.
npm run clean
- Remove and re-create dist/
.
Following instructions from RW tutorials:
-
https://www.robinwieruch.de/javascript-project-setup-tutorial/
-
How to set up an advanced Webpack application https://www.robinwieruch.de/webpack-advanced-setup-tutorial
-
How to set up React with Webpack and Babel https://www.robinwieruch.de/minimal-react-webpack-babel-setup
-
How to use ESLint in Webpack https://www.robinwieruch.de/webpack-eslint
-
How to use ESLint in React https://www.robinwieruch.de/react-eslint-webpack-babel
Finished RW Tutorial: https://github.com/rwieruch/advanced-react-webpack-babel-setup