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
For full documentation, visit [HTML Bundler Docs](https://webdiscus.github.io/html-bundler-webpack-plugin).
48
48
49
49
## Read it
50
50
51
-
-[Why do developers migrate from Webpack?](https://webdiscus.github.io/html-bundler-webpack-plugin/introduction#why-do-developers-migrate-from-webpack)
51
+
-[Why do developers migrate from Webpack?](https://webdiscus.github.io/html-bundler-docs/introduction#why-do-developers-migrate-from-webpack)
52
52
-[Use a HTML file as an entry point?](https://github.com/webpack/webpack/issues/536) (Webpack issue, #536)
53
53
-[Using HTML Bundler Plugin for Webpack to generate HTML files](https://dev.to/webdiscus/using-html-bundler-plugin-for-webpack-to-generate-html-files-30gd)
54
54
-[Keep output directory structure in Webpack](https://dev.to/webdiscus/how-to-keep-the-folder-structure-of-source-templates-in-webpack-for-output-html-files-39bj)
- An [entry point](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-entry) is any HTML template. **Start from HTML or template**, not from JS.
28
-
-**Automatically** processes templates found in the [entry directory](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-entry#template-directory-reference).
29
-
- Built-in support for [template engines](https://webdiscus.github.io/html-bundler-webpack-plugin/category/template-engines): [Eta](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/eta), [EJS](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/ejs), [Handlebars](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/handlebars), [Nunjucks](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/nunjucks), [Pug](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/pug), [Tempura](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/tempura), [TwigJS](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/twig), [LiquidJS](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/preprocessor/liquid).
27
+
- An [entry point](https://webdiscus.github.io/html-bundler-docs/plugin-options-entry) is any HTML template. **Start from HTML or template**, not from JS.
28
+
-**Automatically** processes templates found in the [entry directory](https://webdiscus.github.io/html-bundler-docs/plugin-options-entry#template-directory-reference).
29
+
- Built-in support for [template engines](https://webdiscus.github.io/html-bundler-docs/category/template-engines): [Eta](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/eta), [EJS](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/ejs), [Handlebars](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/handlebars), [Nunjucks](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/nunjucks), [Pug](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/pug), [Tempura](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/tempura), [TwigJS](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/twig), [LiquidJS](https://webdiscus.github.io/html-bundler-docs/guides/preprocessor/liquid).
30
30
- Built-in support for **Markdown**`*.md` files in templates, see [Markdown demo](https://stackblitz.com/edit/markdown-to-html-webpack?file=webpack.config.js) in browser.
31
-
- Allows to [pass data](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-entry#entrydescriptiondata) into a template.
32
-
-**Resolve**[source files](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-sources) of [`scripts`](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-js), [`styles`](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-css), images and other assets in HTML:
31
+
- Allows to [pass data](https://webdiscus.github.io/html-bundler-docs/plugin-options-entry#entrydescriptiondata) into a template.
32
+
-**Resolve**[source files](https://webdiscus.github.io/html-bundler-docs/plugin-options-sources) of [`scripts`](https://webdiscus.github.io/html-bundler-docs/plugin-options-js), [`styles`](https://webdiscus.github.io/html-bundler-docs/plugin-options-css), images and other assets in HTML:
Resolved assets will be processed and replaced with correct URLs in the generated CSS, without using [resolve-url-loader](https://github.com/bholloway/resolve-url-loader).
42
-
-**Resolve**[route URLs](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-router) in `a.href`, useful for navigation in multi-pages.
43
-
-**Inline**[JS](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/inline-js), [CSS](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/inline-css) and [Images](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/inline-images) into HTML. See [how to inline all resources](https://webdiscus.github.io/html-bundler-webpack-plugin/guides/inline-all-assets) into single HTML file.
42
+
-**Resolve**[route URLs](https://webdiscus.github.io/html-bundler-docs/plugin-options-router) in `a.href`, useful for navigation in multi-pages.
43
+
-**Inline**[JS](https://webdiscus.github.io/html-bundler-docs/guides/inline-js), [CSS](https://webdiscus.github.io/html-bundler-docs/guides/inline-css) and [Images](https://webdiscus.github.io/html-bundler-docs/guides/inline-images) into HTML. See [how to inline all resources](https://webdiscus.github.io/html-bundler-docs/guides/inline-all-assets) into single HTML file.
44
44
- Supports importing styles in JavaScript.
45
45
- Supports styles used in `*.vue`.
46
-
- Supports the [HMR for CSS](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-css) to update CSS in browser without a full reload.
47
-
- Watches for changes in the [data file](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-entry#entrydescriptiondata) linked to the template in the plugin option.
48
-
- Generates the [preload](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-preload) tags for fonts, images, video, scripts, styles.
49
-
- Generates the [integrity](https://webdiscus.github.io/html-bundler-webpack-plugin/plugin-options-integrity) attribute in the `link` and `script` tags.
50
-
- Generates the [favicons](https://webdiscus.github.io/html-bundler-webpack-plugin/Plugins/favicons) of different sizes for various platforms.
46
+
- Supports the [HMR for CSS](https://webdiscus.github.io/html-bundler-docs/plugin-options-css) to update CSS in browser without a full reload.
47
+
- Watches for changes in the [data file](https://webdiscus.github.io/html-bundler-docs/plugin-options-entry#entrydescriptiondata) linked to the template in the plugin option.
48
+
- Generates the [preload](https://webdiscus.github.io/html-bundler-docs/plugin-options-preload) tags for fonts, images, video, scripts, styles.
49
+
- Generates the [integrity](https://webdiscus.github.io/html-bundler-docs/plugin-options-integrity) attribute in the `link` and `script` tags.
50
+
- Generates the [favicons](https://webdiscus.github.io/html-bundler-docs/Plugins/favicons) of different sizes for various platforms.
51
51
- Minimizes generated HTML.
52
-
- You can create custom plugins using the provided [Plugin Hooks](https://webdiscus.github.io/html-bundler-webpack-plugin/hooks-and-callbacks).
52
+
- You can create custom plugins using the provided [Plugin Hooks](https://webdiscus.github.io/html-bundler-docs/hooks-and-callbacks).
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "html-bundler-webpack-plugin",
3
-
"version": "4.21.0",
3
+
"version": "4.21.1",
4
4
"description": "Generates complete single-page or multi-page website from source assets. Built-in support for Markdown, Eta, EJS, Handlebars, Nunjucks, Pug. Alternative to html-webpack-plugin.",
0 commit comments