Closed
Description
Is this a bug report?
No, it's refactoring proposal
Expected Behavior
Environment specific behavior should be configured in one single webpack.config.js
file
Actual Behavior
There are two configuration files webpack.config.dev.js
and webpack.config.prod.js
Why?
- Mostly the only reason for ejecting is need to customize WebPack config file.
- Both files must be edited in near same way. This can be source of code duplication and mistakes
How?
simply useconfig/env.js
- use new Webpack 4
mode