Skip to content

webpack-merge approach to 'eject' #7814

@bmayen

Description

@bmayen

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X] feature request

Versions.

Latest

Desired functionality.

Currently the webpack eject approach dumps the entirety of the internal webpack configs into editable files. This completely detaches the configs from the CLI and any subsequent updates to the lib are not reflected in these configs.

I suggest a better approach would be to eject config stubs which leverage webpack-merge to allow us to selectively merge in different functionality. This would allow us to continue getting the latest and greatest CLI updates but still give us some flexibility to support custom use-cases.

Mention any other details that might be useful.

Related to #6731

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions