Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

react-scripts-config vs react-app-rewired #7

@amaury1093

Description

@amaury1093

Hey @ngotchac,

I tried to understand how you wired everything together. If I understood correctly, your fork react-scripts-config reads the config from process.env.CONFIG and merges it on top of the default CRA config.

If yes, I believe it's very similar to https://github.com/timarney/react-app-rewired.


The one big disadvantage I see in using a in-house forked react-scripts it that we'd need to maintain that package constantly, i.e. merge changes from upstream (which is an active project).

My idea, if it's possible/easy, is to use react-app-rewired. The maintainer + 1.2k stars community takes care of merging upstream, plus it has already some tools that you're adding manually (like babel plugins for mobx). And looks pretty flexible to extend.

Tell me what you think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions