Skip to content

Split Webpack configuration into sub-packages #1287

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

Closed
Anahkiasen opened this issue Dec 18, 2016 · 3 comments
Closed

Split Webpack configuration into sub-packages #1287

Anahkiasen opened this issue Dec 18, 2016 · 3 comments

Comments

@Anahkiasen
Copy link

Anahkiasen commented Dec 18, 2016

I don't personally use CRA, but as a resource and project it is probably one of the most fine-tuned packages that you can find on NPM. Whenever I feel the need to look up what the ideal configuration of something is (Babel, Webpack, etc.) I double check how this package does it first.

Now a lot of good has come out of this project, per example the Babel preset is available as a standalone package. It would be very useful if the Webpack configuration used by CRA was also split into a separate project to be consumed by other people.

Maybe using something like webpack-config to easily extend/merge it from third party projects.

@dinukadesilva
Copy link
Contributor

relates to #1308

@gaearon
Copy link
Contributor

gaearon commented Dec 23, 2016

One of the problem in making it modular is that it makes it harder for people to tune it after ejecting. They have to learn yet another abstraction which may not satisfy their particular use case. If one such solution gained enough traction in the community and became a de facto standard then maybe. But this hasn't happened yet.

@gaearon
Copy link
Contributor

gaearon commented Feb 11, 2017

Probably don't do this for now.

@gaearon gaearon closed this as completed Feb 11, 2017
@lock lock bot locked and limited conversation to collaborators Jan 22, 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

3 participants