Merge pull request #43 from kennyt/patch-2

Fix typo in index.js
This commit is contained in:
Jan Nicklas 2015-05-19 21:47:30 +02:00
commit ae6cfdb090
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ HtmlWebpackPlugin.prototype.getTemplateContent = function(compilation, templateP
if (self.options.templateContent) {
return Promise.resolve(self.options.templateContent);
}
// If templateContent is empty use the tempalte option
// If templateContent is empty use the template option
var templateFile = self.options.template;
if (!templateFile) {
// Use a special index file to prevent double script / style injection if the `inject` option is truthy