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
Use stage: Infinity
for webpack@4
#141
Comments
Nice! This is awesome!! :) While you are here, I don't think it's possible but is there a way to run the webpack writes sequentially? (https://github.com/webpack/webpack/blob/0b1e9d8e09aa3f346707776f08f3307b06758d8d/lib/Compiler.js#L282) We used to use a queue that would allow one This was the original issue: #21 |
@mastilver i think we can implement by default |
yep totally |
A lot of plugins use
emit
event to add own assets, manifest in 99% required only when all files were added tocompilation.assets
. Tapable havestage
option for avoid this situation. https://github.com/webpack/tapable/blob/6b91ca9e94cf032420a57a2d0b82b627462b5c1c/lib/Hook.js#L130.Just change from:
To:
It is allow to avoid situation when other plugin use
emit
event and add new assets. I agree what using hook is better, but sometimes it is impossible, because you don't have access to plugin repo.The text was updated successfully, but these errors were encountered: