Processing HTML templates and bundling assets. Supports Markdown, Eta, EJS, Handlebars, Nunjucks, Pug, Twig templates "out of the box". Resolves source files of scripts, styles, images in HTML. Uses a template as entry point
The plugin automates the creation of complete web pages by processing HTML templates with linked assets.
It resolves dependencies, compiles templates, and ensures that the output HTML contains correct output URLs.
npm install html-bundler-webpack-plugin --save-dev
<link rel="preload">
tags for assets to enhance resource loading.integrity
attributes to <link>
and <script>
tags to ensure resource integrity and security.Check out quick Get Started and the other guides.
For full documentation, visit HTML Bundler Docs.
link
and script
tagsIf this plugin helps you, consider giving it a ⭐ to show your support!
Thank you to all our sponsors and patrons!