html-bundler-webpack-plugin
Advanced tools
Comparing version 3.17.0 to 3.17.1
# Change log | ||
## 3.17.1 (2024-08-01) | ||
- fix: when using the integrity option, leaves the original attributes in the script tag as is | ||
## 3.17.0 (2024-07-23) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "html-bundler-webpack-plugin", | ||
"version": "3.17.0", | ||
"version": "3.17.1", | ||
"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": [ |
@@ -1031,3 +1031,4 @@ const path = require('path'); | ||
for (const attrName in attrs) { | ||
attrsStr += ` ${attrName}="${attrs[attrName]}"`; | ||
let value = attrs[attrName]; | ||
attrsStr += value == null ? ` ${attrName}` : ` ${attrName}="${value}"`; | ||
} | ||
@@ -1034,0 +1035,0 @@ |
Sorry, the diff of this file is too big to display
11476
10
657681
6433