Creating a Production-Ready Webpack 4 Config From Scratch
Typically, webpack is configured when a project is first set up, and small tweaks are then made to the config files as needed from time to time. Because of this, many developers don’t have a lot of experience working with webpack.
freecodecamp.org