Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ejecting results in a messy webpack config file #6372

Closed
darajava opened this issue Feb 9, 2019 · 2 comments
Closed

Ejecting results in a messy webpack config file #6372

darajava opened this issue Feb 9, 2019 · 2 comments

Comments

@darajava
Copy link

darajava commented Feb 9, 2019

Sometimes it is necessary to eject, and I usually do it early on so that I have better control over the configuration. With previous versions, the webpack config after ejecting was a lot more manageable. With the current version, it's confusing and very long, and it is also using the old webpack syntax. I think the generated file is a bit too complex, and I would imagine it would make more advanced users of react less likely to use CRA because of the pain that ejecting brings. I would like to be able to eject while keeping the config files small, simple and usable.

Is this a bug report?

Yes (maybe a proposal)

Environment

All

Steps to Reproduce

  1. Download CRA
  2. Eject
  3. Notice webpack.config.*.js

Expected Behavior

A clean, simple webpack config file which is easier to maintain and uses the newer webpack syntax.

Actual Behavior

A long and difficult to maintain config file is produced for webpack.

Reproducible Demo

N/A

@bugzpodder
Copy link

Hi darajava, we are actively exploring how to support advanced use cases: see #6303

@darajava
Copy link
Author

Thank you @bugzpodder

@lock lock bot locked and limited conversation to collaborators Feb 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants