Open sw1tchdev opened 3 years ago
Hello, is an update planned? I really want hbs to be alive in wabpack
Hi all,
i will attend to the deprecation warning as soon as there is some spare time. Any pull requests for this topic are also appreciated.
Regards, sagold
Same on my side. Not really an issue, just a deprecation warning. Subscribing to this thread and wait to see the pull request merged with master branch :wink:
Hi @sagold, Any news about the PR to fix this issue with webpack@5?
Thanks :sunglasses:
the fix on dev should be working. But the changes made in html-webpack-plugin probably wont support an integration any longer. This is open for investigation. We might need to drop support for other plugins. This doesnt scale anyway...
@sagold yes, you might need to upgrade all the stack of dev dependencies.
I'm facing the same deprecation warning, after having migrated a project (which uses this handlebars plugin) to webpack 5.
@sagold what do you mean with "the fix on dev should be working"?
I think the reason for the warning is that you're modifying compilation.assets directly what's not recommended anymore. That code still exists in the develop
branch https://github.com/sagold/handlebars-webpack-plugin/blob/develop/index.js#L348
Hello @sagold,
Any feedback on this?
Hello @sagold,
Any news about updating this plugin? Still in use by many people...
I am thinking about making a fork, or helping you merging existing PRs + fix issues.
Thanks for your feedback! :+1:
Hi Xavier.
Thank you for the offer! We should add some maintainers to this repository as this obviously is not my priority.
I plan to update the plugin within the next weeks (and dropping html-webpack-plugin support).
Care to align?
Cheers, sagold
Hi @sagold!
Yeah I can understand about priorities, this past few months open source was not mine too, we all have a side "real" job behind this open source life :smile: ...
Feel free to send me an invite, I can definitely help on this one as I am using it all days!
Hi @xavierfoucrier,
you can try to use the new html-bundler-webpack-plugin. This plugin support the Handlebars templates and has many cool features:
Hello, thanks for plugin. When i tried to using
handlebars-webpack-plugin
with webpack v5, bundler shows a deprecation warning: