---
title: "html-webpack-plugin 5.6.1 Breaking Changes on npm"
description: "What each html-webpack-plugin release removed, renamed or changed: 126 breaking changes in 14 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/html-webpack-plugin
last_updated: 2026-12-04
---

# html-webpack-plugin breaking changes

html-webpack-plugin 5.6.1 (October 17, 2024) is its newest release with breaking changes. The first: Signature changed Hooks.alterAssetTags. Every breaking API change we have recorded in html-webpack-plugin on npm: 126 breaking changes in 14 versions. Below, its 14 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.6.8`, released July 25, 2026. [Source repository](https://github.com/jantimon/html-webpack-plugin)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.4.1](#v-4-4-1) to [5.6.1](#v-5-6-1): 59 breaking changes in 8 versions.
- From [3.0.0](#v-3-0-0) to [5.6.1](#v-5-6-1): 110 breaking changes in 13 versions.

## html-webpack-plugin 5.6.1 breaking changes

html-webpack-plugin 5.6.1, released October 17, 2024: 1 breaking change.

- **Signature changed** `Hooks.alterAssetTags`  

Was alterAssetTags: AsyncSeriesWaterfallHook<{assetTags: {scripts: HtmlTagObject\[\]; styles: HtmlTagObject\[\]; meta: HtmlTagObject\[\];}; publicPath: string, outputName: string; plugin: HtmlWebpackPlugin;}>; now alterAssetTags... [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.6.1)

## html-webpack-plugin 5.6.0 breaking changes

html-webpack-plugin 5.6.0, released December 19, 2023: 2 breaking changes.

- **Signature changed** `Options.scriptLoading`  

Was scriptLoading?: "blocking" | "defer" | "module"; now scriptLoading?: "blocking" | "defer" | "module" | "systemjs-module". [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.6.0)
- **Signature changed** `ProcessedOptions.scriptLoading`  

Was scriptLoading?: "blocking" | "defer" | "module"; now scriptLoading?: "blocking" | "defer" | "module" | "systemjs-module". [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.6.0)

## html-webpack-plugin 5.5.4 breaking changes

html-webpack-plugin 5.5.4, released December 6, 2023: 3 breaking changes.

- **Signature changed** `Options.templateParameters`  

Was templateParameters?: | false | ((compilation: any, assets: {publicPath: string; js: Array\<string>; css: Array\<string>; manifest?: string; favicon?: string;}, assetTags: {headTags: HtmlTagObject\[\]; bodyTags: HtmlTagObject\[\];}, options... [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.4)
- **Signature changed** `ProcessedOptions.templateParameters`  

Was templateParameters?: | false | ((compilation: any, assets: {publicPath: string; js: Array\<string>; css: Array\<string>; manifest?: string; favicon?: string;}, assetTags: {headTags: HtmlTagObject\[\]; bodyTags: HtmlTagObject\[\];}, options... [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.4)
- **Signature changed** `TemplateParameter.compilation`  

Was compilation: any; now compilation: Compilation. [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.4)

## html-webpack-plugin 5.5.3 breaking changes

html-webpack-plugin 5.5.3, released June 10, 2023: 2 breaking changes.

- **Signature changed** `Options.chunksSortMode`  

Was chunksSortMode?: | "auto" | "manual" | ((entryNameA: string, entryNameB: string) => number); now chunksSortMode?: | "auto" | "none" | "manual" | ((entryNameA: string, entryNameB: string) => number). [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.3)
- **Signature changed** `ProcessedOptions.chunksSortMode`  

Was chunksSortMode?: | "auto" | "manual" | ((entryNameA: string, entryNameB: string) => number); now chunksSortMode?: | "auto" | "none" | "manual" | ((entryNameA: string, entryNameB: string) => number). [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.3)

## html-webpack-plugin 5.5.0 breaking changes

html-webpack-plugin 5.5.0, released October 25, 2021: 2 breaking changes.

- **Signature changed** `Options.scriptLoading`  

Was scriptLoading?: "blocking" | "defer"; now scriptLoading?: "blocking" | "defer" | "module". [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.0)
- **Signature changed** `ProcessedOptions.scriptLoading`  

Was scriptLoading?: "blocking" | "defer"; now scriptLoading?: "blocking" | "defer" | "module". [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.5.0)

## html-webpack-plugin 5.3.1 breaking changes

html-webpack-plugin 5.3.1, released March 9, 2021: 1 breaking change.

- **Removed** `loader-utils`  

The plugin no longer depends on loader-utils internally. Code that relied on loader-utils being pulled in transitively through html-webpack-plugin must now install it directly. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v5.3.1/CHANGELOG.md)

## Older versions

8 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### html-webpack-plugin 5.1.0 breaking changes

html-webpack-plugin 5.1.0, released February 12, 2021: 2 breaking changes.

- **Behavior changed**  

Attributes with null, undefined or false values are now left out of generated HTML tags. Check any template code that relied on those attributes being rendered. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v5.1.0/CHANGELOG.md)
- **Signature changed** `HtmlTagObject.attributes`  

Was attributes: {\[attributeName: string\]: string | boolean;}; now attributes: {\[attributeName: string\]: string | boolean | null | undefined;}. [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/5.1.0)

### html-webpack-plugin 5.0.0 breaking changes

html-webpack-plugin 5.0.0, released February 3, 2021: 46 breaking changes.

- **Removed**  

Version 5 no longer supports webpack 4 or Node.js 10 and older. Stay on html-webpack-plugin 4.x if you need them. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v5.0.0/CHANGELOG.md)
- **Removed** `appcache-webpack-plugin`  

Support for appcache-webpack-plugin has been removed. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v5.0.0/CHANGELOG.md)

And 44 more in this version.

### html-webpack-plugin 4.4.1 breaking changes

html-webpack-plugin 4.4.1, released August 30, 2020: 1 breaking change.

- **Signature changed** `createHtmlTagObject`  

Was static createHtmlTagObject(tagName: string, attributes?: {\[attributeName: string\]: string | boolean}, innerHTML?: string): HtmlTagObject; now static createHtmlTagObject(tagName: string, attributes?: {\[attributeName: string\]: string |... [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/4.4.1)

### html-webpack-plugin 4.2.2 breaking changes

html-webpack-plugin 4.2.2, released April 30, 2020: 1 breaking change.

- **Behavior changed**  

Generated favicon link tags use the modern rel value instead of the older one. Code that matches the old rel attribute in the generated HTML may need updating. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v4.2.2/CHANGELOG.md)

### html-webpack-plugin 4.2.0 breaking changes

html-webpack-plugin 4.2.0, released April 9, 2020: 2 breaking changes.

- **Signature changed** `Options.templateContent`  

Was templateContent: | false | string | Promise\<string>; now templateContent: | false | string | ((templateParameters: {\[option: string\]: any}) => (string | Promise\<string>)) | Promise\<string>. [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/4.2.0)
- **Signature changed** `ProcessedOptions.templateContent`  

Was templateContent: | false | string | Promise\<string>; now templateContent: | false | string | ((templateParameters: {\[option: string\]: any}) => (string | Promise\<string>)) | Promise\<string>. [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/4.2.0)

### html-webpack-plugin 4.0.2 breaking changes

html-webpack-plugin 4.0.2, released March 26, 2020: 1 breaking change.

- **Default changed**  

Trailing slashes on self-closing tags are no longer removed by default. If your build depends on the previous output, you must configure the plugin to remove them yourself. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v4.0.2/CHANGELOG.md)

### html-webpack-plugin 4.0.0 breaking changes

html-webpack-plugin 4.0.0, released March 23, 2020: 46 breaking changes.

- **Removed**  

Use Webpack 4 or later. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v4.0.0/CHANGELOG.md)
- **Removed** `Config`  

Use Options instead. [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/4.0.0)

And 44 more in this version.

### html-webpack-plugin 3.0.0 breaking changes

html-webpack-plugin 3.0.0, released February 28, 2018: 16 breaking changes.

- **Removed**  

Node.js versions older than 6 are no longer supported. Users on those versions must upgrade Node.js before using this release. [github.com](https://github.com/jantimon/html-webpack-plugin/blob/v3.0.0/CHANGELOG.md)
- **Removed** `Chunk`  

Chunk was removed in html-webpack-plugin 3.0.0 [npmjs.com](https://www.npmjs.com/package/html-webpack-plugin/v/3.0.0)

And 14 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
