Merge pull request #74 from tlrobinson/master

Fixes stylesheet <link>s being discarded when used with "inject: 'head'"
This commit is contained in:
Jan Nicklas 2015-08-03 23:13:34 +02:00
commit c5d1a8e36e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}