This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
Refactor webpack.config.dev.js and webpack.config.prod.js to use a base configuration file #2
Labels
help wanted
Extra attention is needed
When you eject
create-react-app
, it creates separate webpack configuration files for production and development. In actuality, these files share a lot of commonality. The task is to refactor these configuration files to use a base configuration file calledwebpack.config.base.js
.An example of the kind of thing we are aiming for can be found at https://gist.github.com/ericclemmons/40a2783313d157d8b448. Of particular note is the
merge
method that is defined and exported from this module and used in the other configuration files to merge in environment-specific webpack configsThe text was updated successfully, but these errors were encountered: