Open LouisTrezzini opened 4 years ago
I'm also interset to migrate to webpack 5. it would be nice to have support for version 5 but since you asked for an alternative I gonna suggest some alternatives (unfortunately I didn't check these alternatives compatibilities with version 5).
you can use html-webpack-plugin
with scriptLoading
option for defer
your scripts(unfortunately there is no async
support) and use preload-webpack-plugin
for inject preload
and prefetch
attributes.
Hi @LouisTrezzini - thanks for the thanks! I have been very poor at maintaining this repo for a considerable period now. I took a look at Webpack 5 migration and this was going to be non-trivial, especially given the backward-compatability I have struggled to maintain since I first started the repo. Hence I have decided to deprecate this plugin. The Webpack 5 upgrade seems as 'least worst' a time as any to inconvenience users of the plugin. My apologies for the extra work this will cause. I have added some notes on the README of my final release for anyone who wish to fork and carry on with this plugin.
Hi @numical
Thanks for your reactivity and for providing clarity to the community. This will greatly help users of the plugin take informed decisions during their migration to Webpack 5. We will review our use case internally, to see if we can find an alternative or if we will consider working on a fork.
Thanks again for the great work and take care!
Hi @numical
Thanks for your reactivity and for providing clarity to the community. This will greatly help users of the plugin take informed decisions during their migration to Webpack 5. We will review our use case internally, to see if we can find an alternative or if we will consider working on a fork.
Thanks again for the great work and take care!
so, is there an alternative now?
In 2024 can be used the new modern html-bundler-webpack-plugin.
This plugin replaces the functionality of both the html-webpack-plugin
and script-ext-html-webpack-plugin
plugins.
Hello @numical! Thanks for the great work on this plugin.
It looks like it's currently not compatible with webpack 5. Since this is widely used (100k+ weekly downloads), it would be great to know if you have any plan to update the plugin? If not, you'd be open to reviewing contributions? It's blocking our migration and we'd be happy to contribute back to the community. Or could you mark the repo as archived and suggest an alternative?
Thanks!