Skip to content
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

Open
adaam2 opened this issue Mar 7, 2018 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@adaam2
Copy link
Owner

adaam2 commented Mar 7, 2018

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 called webpack.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 configs

@adaam2 adaam2 added the help wanted Extra attention is needed label Mar 7, 2018
@sanketsingh24
Copy link

Shall I work on this issue?

@adaam2
Copy link
Owner Author

adaam2 commented Mar 7, 2018

@sanketsingh24 Sure, feel free

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants