jantimon / html-webpack-plugin

Simplifies creation of HTML files to serve your webpack bundles
MIT License
10.71k stars 1.31k forks source link

fix: pass all Node.js globals to templates #1796

Closed alexander-akait closed 1 year ago

alexander-akait commented 1 year ago

fixes https://github.com/jantimon/html-webpack-plugin/issues/1747

Changed from requrie("url") because -

v10.0.0 The class is now available on the global object.

and our minimum supported node.js version is 10, so we don't need this workaround for old versions