-
Notifications
You must be signed in to change notification settings - Fork 55
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
Upgrade to html-webpack-plugin 4 #61
Comments
Running into this problem now, is there any information about the hooks for webpack-concat-plugin. Ill just inject it manually as it stopped working. |
im about to make a pr but im not sure which branch to make the PR into. |
I'm using
this part
|
Hi @ymaz, did you ever resolve that issue? I've got exactly the same issue whereby i'm trying to access |
@Jorybraun Yeah I agree regarding forking it. Especially considering this plugin is still referenced in the html-webpack-plugin readme. That'd be great if you are happy to maintain it. |
@gvince01 im suprised more people don't have these issues: this plugin has 28,537 weekly downloads |
The html-webpack-plugin version 4 is getting closer to a release.
Many information can be found in this pr: jantimon/html-webpack-plugin#953
A static version property was added:
https://github.com/jantimon/html-webpack-plugin/blob/d65b37d2c588047e0d81a38f4645fcdb3ead0b9e/index.js#L915-L927
The event system was changed alot to work with the new features:
Could you please give the new events a try and let me know if they work for your case?
https://github.com/jantimon/html-webpack-plugin/tree/webpack-4#events
beforeAssetTagGeneration
hookalterAssetTags
hookalterAssetTagGroups
hookafterTemplateExecution
hookbeforeEmit
hookafterEmit
hookThe text was updated successfully, but these errors were encountered: