html-webpack-injector
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -14,3 +14,3 @@ const HtmlWebpackPlugin = require("html-webpack-plugin"); | ||
chunks.forEach(chunk => { | ||
if (chunk.attributes.src.includes("_head")) { | ||
if (chunk.attributes.src && chunk.attributes.src.includes("_head")) { | ||
headChunks.push(chunk); | ||
@@ -17,0 +17,0 @@ } else { |
{ | ||
"name": "html-webpack-injector", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Helps to inject chunks to head and body via HtmlWebpackPlugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19541