jharris4 / html-webpack-tags-plugin

lets you define html tags to inject with html-webpack-plugin
MIT License
256 stars 31 forks source link

Doesn't work with webpack5 #65

Closed breezewish closed 3 years ago

breezewish commented 3 years ago

Webpack 5 adds output.publicPath: 'auto' by default. This causes HtmlWebpackTagsPlugin produce wrong tags.

breezewish commented 3 years ago

Oh sorry, later discovered that my assets are served from a manifest file and the name in the manifest file is already wrong.

z639 commented 3 years ago

@breeswish Are things working for you in webpack5 ?

I've just migrated and this plugin is giving me issues right now, but if you have it working then it might just be something I'm doing wrong.