Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Consider ejecting from Create React App #198

Closed
kellyi opened this issue Feb 8, 2019 · 1 comment
Closed

Consider ejecting from Create React App #198

kellyi opened this issue Feb 8, 2019 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@kellyi
Copy link
Contributor

kellyi commented Feb 8, 2019

Overview

Following the initial/2.0 release, we should consider ejecting from Create React App. CRA's builtins are nice, but since we don't have access to the webpack configuration, we're unable to do a few things we typically do on our other projects, such as

  • adding webpack-bundle-analyzer to see the composition of the app bundles
  • setting up Rollbar using the webpack plugin in order to ship sourcemaps conditionally
  • setting fine-grained polyfill configurations easily

In addition, we're prevented from adding an automatic code-formatter like prettier.

Describe the solution you'd like

I'm in favor of ejecting, but we should discuss it more after the initial/2.0 release.

One main thing we'd lose by ejecting is automatic upgrades to/via react-scripts, but we're familiar enough with upgrade paths and webpack configuration that it seems like that wouldn't be a huge loss.

@kellyi kellyi added enhancement New feature or request question Further information is requested labels Feb 8, 2019
@kellyi
Copy link
Contributor Author

kellyi commented Jun 21, 2019

I set up react-app-rewired in #556 which enables adjusting the webpack config without ejecting from CRA. Closing this.

@kellyi kellyi closed this as completed Jun 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant