-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
[Bug] assets.chunks is undefined webpack@5.0.0 #219
Comments
Thanks for opening an issue. We've just undeprecated the package and are working on getting everything setup to continue development. |
Hey folks, please see #222 for updates on v5 support. |
I've read the updates and I'm happy talented people are keeping this package alive.
This only happens when adding this code to webpack.config.js
The suggestion by OP works but I don't see a PR which relates to this issue and one which is still open. Issue seems to be webpack5. Universal chunks are not implemented yet. |
Any updates? |
i meet this too. only with this: new Manifest(), |
Boys! It seems to be fixed 100cbe2 I can confirm it works again on webpack5! Thanks @shellscape ! |
Environment
webpack: v5.0.0
Error Log
add to https://github.com/shellscape/webpack-manifest-plugin/blob/master/lib/plugin.js#L127 the code below
Because of webpack changes,
chunk
is undefined.Suggestion
webpack-manifest-plugin/lib/plugin.js
Line 128 in 49f34a5
I suggest
chunks
tochunkNames
.Passed when using webpack@4.44.2.
But, I haven't tried webpack@2.x.x, webpack@3.x.x.
The text was updated successfully, but these errors were encountered: