{"library":"html-webpack-plugin","type":"library","category":null,"description":"Plugin that simplifies creation of HTML files to serve your webpack bundles, especially useful for bundles with hashed filenames. Current stable version: 5.6.7. The plugin generates an HTML file for you, or you can provide your own template using lodash templates. It injects all webpack bundles into the HTML and supports a rich event system for extensibility. Key differentiators: zero-config setup, hooks for custom plugins, and support for multiple HTML files. Alternatives like HtmlBundlerPlugin or script-ext-html-webpack-plugin build on top of this. Actively maintained with frequent releases.","language":"javascript","status":"active","version":"5.6.7","tags":["javascript","webpack","plugin","html","html-webpack-plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-webpack-plugin","imports":["import HtmlWebpackPlugin from 'html-webpack-plugin'","const HtmlWebpackPlugin = require('html-webpack-plugin')","const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports.plugins.push(new HtmlWebpackPlugin())"]},{"cmd":"yarn add html-webpack-plugin","imports":[]},{"cmd":"pnpm add html-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/jantimon/html-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/html-webpack-plugin/compatibility"}}