Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

html-webpack-plugin

Package Overview
Dependencies
Maintainers
4
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-webpack-plugin - npm Package Versions

13
15

5.3.2

Diff

Changelog

Source

5.3.2 (2021-06-22)

Bug Fixes

  • update lodash and pretty error (9c7fba0
jantimon
published 5.3.1 •

Changelog

Source

5.3.1 (2021-03-09)

Bug Fixes

  • remove loader-utils from plugin core (82d0ee8)
jantimon
published 5.3.0 •

Changelog

Source

5.3.0 (2021-03-07)

Features

  • allow to modify the interpolation options in webpack config (d654f5b)
  • drop loader-utils dependency (41d7a50)
jantimon
published 5.2.0 •

Changelog

Source

5.2.0 (2021-02-19)

Features

jantimon
published 4.5.2 •

Changelog

Source

4.5.2 (2021-02-18)

Bug Fixes

  • more robust variable value extraction to add support for webpack >= 5.22.0 (1aabaf9)
jantimon
published 5.1.0 •

Changelog

Source

5.1.0 (2021-02-12)

Features

  • omit html tag attribute with null/undefined/false value (aa6e78d), closes #1598
jantimon
published 5.0.0 •

Changelog

Source

5.0.0 (2021-02-03)

⚠ BREAKING CHANGES

  • Drop support for webpack 4 and node <= 10 - For older webpack or node versions please use html-webpack-plugin 4.x
  • Entry javascript resources are now being loaded deferred in the <head> tag to improve the page load performance by default - You can set the scriptLoading option to 'blocking' to keep the previous behaviour
  • Setting publicPath to '' (an empty string) will no longer calculate a relative path from the html file to the assets anymore - You can set the publicPath option to 'auto' to keep the previous behaviour
  • Plugins for html-webpack-plugin which add additional assetTags should provide a meta attribute
  • Drop support for appcache-webpack-plugin

Features

  • drop webpack 4 and node <= 10 support to make use of the latest APIs (b7a9e8f)
  • use the new webpack 5 APIs and create html files during the new webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONS compilation stage (8964bc4, b6895cb, a97234e, 1b59e09, 4fca596, ed64a6b, 86245db, 50b3bec, c697725)
  • allow generating one file per chunk with the new '[name]' placeholder for the filename option (cd5bd2a, 3d9ff48)
  • the filename option can now be a function (c5beb4b)
  • add support for 'auto' public paths inside templates (a059fcf, b09b439)
  • use defer as default script loading mechanism (35b6b87)
  • allow to set publicPath to an empty string '' (5ea7de4)
  • improve typings (197ddd8)
  • provide public path to the alterAssetTagGroups hook (1b54dfb)
  • provide public path to the alterAssetTags hook (b754626)
  • use thisCompilation in child compiler for faster builds (1d59e9a)
  • export new major in static property (8b692bd)
  • reduce dependencies (8c28aaa, 56e633f)

Bug Fixes

  • emit files on every build to work properly with plugins like the clean-webpack-plugin (6b3d087)
  • generate html files even if no webpack entry exists (2693dfa)
  • keep binary format when adding assets (7e2b208), closes #1537
jantimon
published 5.0.0-beta.6 •

jantimon
published 5.0.0-beta.5 •

jantimon
published 5.0.0-beta.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc