html-webpack-template v6.2.0 is an EJS template for html-webpack-plugin that extends the default template with built-in options for app mount points, external scripts, meta tags, Google Analytics, and more. It requires html-webpack-plugin 2.x or 3.x (peer dependency) and was last released in 2016. It is in maintenance mode as the html-webpack-plugin ecosystem has evolved. Key differentiators: no need to write a custom index.html; supports appMountId, window, devServer, and other config options directly in the plugin configuration.
npm install html-webpack-templateVerified import paths — ran on the pinned version, not inferred.
Shows basic usage with HtmlWebpackPlugin, required inject:false, and optional appMountId, window config, mobile meta, and lang attribute.
Use html-webpack-plugin@3.x or migrate to a newer template like html-webpack-plugin's built-in or @dr.pogodin/react-helmet.
Consider using html-webpack-plugin's default template or alternatives like html-webpack-plugin/lib/loader.js.
Explicitly set inject: false in the constructor.
Double-check option names from documentation.
Downgrade to html-webpack-plugin@3.x or use a compatible template.
Run npm install html-webpack-template --save-dev and use require('html-webpack-template') instead of a string.