html-bundler-webpack-plugin
Advanced tools
Comparing version 3.17.1 to 3.17.2
# Change log | ||
## 3.17.2 (2024-08-08) | ||
- fix: error when `integrity` option is enabled but no template defined in entry, #107 | ||
## 3.17.1 (2024-08-01) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "html-bundler-webpack-plugin", | ||
"version": "3.17.1", | ||
"version": "3.17.2", | ||
"description": "HTML bundler plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in HTML, supports template engines like Eta, EJS, Handlebars, Nunjucks.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -302,5 +302,7 @@ const crypto = require('crypto'); | ||
for (const [hash, value] of hashes) { | ||
const assetFile = value.next().value; | ||
assetHashes.set(assetFile, hash); | ||
if (hashes) { | ||
for (const [hash, value] of hashes) { | ||
const assetFile = value.next().value; | ||
assetHashes.set(assetFile, hash); | ||
} | ||
} | ||
@@ -307,0 +309,0 @@ } |
657829
11478