-
Notifications
You must be signed in to change notification settings - Fork 85
chunk is not an instance of Chunk #54
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
Comments
probably can't remove it. Perhaps you're on an older version of webpack. This is meant for webpack 3+ |
I had this issue on webpack 3.5.5 but not on webpack 3.10.0 |
This must be wrong, i have latest versions of both webpack and this plugin and there is still this error? What am i doing wrong here? How so for others work and for some don't? |
I have the same error if I'm using globally installed webpack, if the webpack is locally installed and it's located in the project |
@mike1808 actually my webpack is local installed, so thats why. Any other ideea why? I added babel universal plugin aswell to the .babelrc file... |
I opened up a discussion on the PR that introduced this code here: Please post any information there. |
I am also facing the same issue webpack version is 3.8.1 & extract-css-chunks-webpack-plugin version 2.0.18 |
This PR: #67 which was just merged fixes this. Please let me know if anyone is still having issues. |
I have a very tricky webpack config (extended version from
create-react-app
) and then I tried to replaceextract-text-webpack-plugin
withextract-css-chunks-webpack-plugin
I got a nice errorchunk is not an instance of Chunk
@faceyspacey can you give more information about
isChunk
function? I see it only in 2 places is used and not totally clear why.https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/blob/master/index.js#L357
And maybe it's possible to remove it? Cause even my "freaky" config working fine without it.
The text was updated successfully, but these errors were encountered: