Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.
This repository was 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

Description

@adaam2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions