Skip to content

Base configuration file query #4115

Open
@adaam2

Description

@adaam2

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions