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
new HtmlWebpackTagsPlugin({ scripts: [{ glob: 'es5-legacy-global-script*.js', globPath: 'dist', path:''}] });
but it works only when previusly such file (es5-legacy-global-script.<hash>.js) exist in dist folder
More over developer of html-webpack-tags-plugin said that his plugin should be used for generating index.html tags for copied files, and asked why webpack-merge-and-include-globally doesn't integrate with html-webpack-plugin by adding its (webpack-merge-and-include-globally) chunks to html-webpack-plugin ? see jharris4/html-webpack-tags-plugin#69
I'm trying to add (generated by
webpack-merge-and-include-globally
) legacy js (es5-legacy-global-script.<hash>.js
:) file to myindex.html
My config
I tried to use https://github.com/jharris4/html-webpack-tags-plugin
but it works only when previusly such file (
es5-legacy-global-script.<hash>.js
) exist indist
folderMore over developer of
html-webpack-tags-plugin
said that his plugin should be used for generatingindex.html
tags for copied files, and asked whywebpack-merge-and-include-globally
doesn't integrate with html-webpack-plugin by adding its (webpack-merge-and-include-globally
) chunks tohtml-webpack-plugin
? see jharris4/html-webpack-tags-plugin#69Good question can
webpack-merge-and-include-globally
integrate withhtml-webpack-plugin
?might be usefull https://github.com/jantimon/html-webpack-plugin#events
The text was updated successfully, but these errors were encountered: