diff --git a/index.js b/index.js index 5094518..59d2834 100644 --- a/index.js +++ b/index.js @@ -300,7 +300,7 @@ HtmlWebpackPlugin.prototype.injectAssetsIntoHtml = function(html, templateParams head = head.concat(styles); // Add scripts to body or head if (this.options.inject === 'head') { - head = body.concat(scripts); + head = head.concat(scripts); } else { body = body.concat(scripts); }