Webpack has become the defacto standard for building React frontend, it is configured through 3 files:
- webpack.config.js: the configuration common to all environment.
- webpack.dev.js: the configuration for development environment.
- webpack.prod.js: the configuration for production environment.