Open
Description
Wouldn't it be better for the default configuration after ejecting to inherit from a base Webpack configuration file and then have the development / production configurations merge off of the base configuration. Looking at the default generated files created by create-react-app after ejecting, I can see that there is a lot of duplication between webpack.config.dev.js
and webpack.config.prod.js
. Any reasons why it was written in this manner originally or why we can't move towards a base configuration file?
Apologies if this issue / question has been lodged before. Tried my best to find similar issues!