html-webpack-plugin 5.6.1 → 5.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -705,7 +705,7 @@ class HtmlWebpackPlugin {
705
705
  if (
706
706
  typeof newSource === "object" &&
707
707
  newSource.__esModule &&
708
- newSource.default
708
+ newSource.default !== undefined
709
709
  ) {
710
710
  newSource = newSource.default;
711
711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-webpack-plugin",
3
- "version": "5.6.1",
3
+ "version": "5.6.2",
4
4
  "license": "MIT",
5
5
  "description": "Simplifies creation of HTML files to serve your webpack bundles",
6
6
  "author": "Jan Nicklas <j.nicklas@me.com> (https://github.com/jantimon)",