-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Mangled output #21
Comments
Config file for reference
|
I'm also occasionally having the same issue. One build will be fine, the next will have a bad closing brace in the middle of the list. |
I know it won't be easy (and I'm not sure if feasible... :/), but it would be a great help if you could send me a failing PR reproducing the issue |
I'm reopening this one as I'm reverting the earlier fix, as it was causing another issue... |
So i now understand better how this issue is happening: It's caused by this: /~https://github.com/webpack/webpack/blob/ef6ab6820a74db730cfec6fd419d2c211d62c0bd/lib/Compiler.js#L343 What's happening, is that webpack is writing the same file multiple times To prevent that, we need to use /~https://github.com/mafintosh/mutexify to lock: /~https://github.com/danethurber/webpack-manifest-plugin/blob/1d691af97b955cc8c1c8cd5b684e54a81c7d0a3d/lib/plugin.js#L161 and release it on I will now focus on 2.x release, but if anyone feels like it, they can send us a PR :) |
In multi compiler mode with a shared cache, I am getting the following mangled output.
This is inconsistent, sometimes the file is correct, sometimes it is as above
The text was updated successfully, but these errors were encountered: