You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a spot of bother that might be related to this. The README says a bunch of stuff about injecting the Modernizr bundle into HTMLWebpackPlugin, if a compatible version is found. I'm running [email protected] at the moment, and it seems that [email protected] is unable to inject itself into the template file.
If I manually include the bundle at the template file, like so:
... It works, but this feels a bit wonky in the sense that I remember the "auto-inject" feature working with earlier versions (html-webpack-plugin@^1.0.0).
hi @alexpalombaro
I am about to release html-webpack-plugin 2.
It would allow you to alter the html/assets with events:
https://github.com/ampedandwired/html-webpack-plugin/tree/feature/loaders#events
There is also a unit test which shows how you could add an additional javascript from another plugin:
https://github.com/ampedandwired/html-webpack-plugin/blob/feature/loaders/spec/HtmlWebpackPluginSpec.js#L682
do you have time to adapt your plugin for 2.x?
The text was updated successfully, but these errors were encountered: