-
Notifications
You must be signed in to change notification settings - Fork 511
Code Splitting with 2.0.0-rc.2 results in "Error: Order in extracted chunk undefined" #386
Comments
I wonder if we should merge those three into this one. Am I correct to assume this didn't work earlier even? |
@bebraw I made this repo for isomorphic rendering of react-router with code splitting https://github.com/dtothefp/isomorphic-react-router-code-splitting I'm using So it looks like my CSS is being extracted from the chunk but I think some of those issues I listed are asking for extracted CSS to create a separate file for each chunk, which I'm not overly concerned with. What I am concerned with is the error |
There's |
@bebraw thanks...this works for my use case!! |
Ok, let's close then. |
I saw a bunch of issues related to code splitting with extract-text-plugin.
We were seeing the issue of using
require.ensure
and CSS was not extracted, but remained in the chunk bundle. I updated to2.0.0-rc.2
and use the extract-text-plugin withallChunks: true
option and it seemed to work in a minimal use case repo. When I migrated to a larger repo and used the same config I gotwhich seems potentially related #80
I can make the minimal use case repo but it doesn't demonstrate this problem because it only happens in a larger code base
I can also confirm this was happening before I updated on
2.0.0-beta.4
if I add theallChunks: true
optionThe text was updated successfully, but these errors were encountered: