npm run start
npm run build
npm run deploy-staging
npm run deploy-production
src
- Where the working files are
build
- Contains production & deployment build assets, gets cleaned up on every build/deploy command do not edit the files here
webpack.common.js
- Contains all core essential configurations that are needed in both dev and prod environments
webpack.dev.js
- Merges with webpack.common.js
, contains dev environment configuration
webpack.prod.js
- Merges with webpack.common.js
, contains production environment configuration
webpack.deploy.js
- Merges with webpack.prod.js
, contains only deployment(both staging & production) configuration