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

Why not using webpack 2? #1973

Closed
FateRiddle opened this issue Apr 12, 2017 · 7 comments
Closed

Why not using webpack 2? #1973

FateRiddle opened this issue Apr 12, 2017 · 7 comments

Comments

@FateRiddle
Copy link

Hey, I'm trying to tweak the build so I eject it. Then I find create-react-app is still using webpack 1. Why and any plan to update?

@tbillington
Copy link

You'll see master does in fact use Webpack 2, it's just not ready for release yet. https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/package.json#L57.

I imagine it will come in on of the next few versions.

@gaearon
Copy link
Contributor

gaearon commented Apr 12, 2017

Yep, we'll update it soon. Generally we try to ensure tools work well before updating. We found multiple isssues in Webpack 2 and didn't release an update earlier because we were waiting for them to get fixed. I think it should be fine now, but I hope this gives you an idea of why we don't chase the latest versions immediately.

@gaearon gaearon closed this as completed Apr 12, 2017
@thadeubrito
Copy link

I'm waiting for it

@gaearon
Copy link
Contributor

gaearon commented Apr 18, 2017

Sooooon 😄

@Timer
Copy link
Contributor

Timer commented Apr 18, 2017

@thadeubrito one of our largest blockers right now are bugs in extract-text-webpack-plugin, namely it doesn't work with import() which we are going to be pushing hard in the webpack 2 upgrade.

If you can show webpack-contrib/extract-text-webpack-plugin#406 and webpack-contrib/extract-text-webpack-plugin#436 are no longer problematic or help get them fixed, that would be great!

@starandtina
Copy link

I'm also waiting for it!

@gaearon
Copy link
Contributor

gaearon commented May 7, 2017

We know! Sorry, but further “+1”s are not very helpful. Let’s avoid adding more comments that just express the support for this.

@facebook facebook locked and limited conversation to collaborators May 7, 2017
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

6 participants