From 94fc6c98af211fbb61436e5a7b7bd4756d1b2226 Mon Sep 17 00:00:00 2001 From: Kenny Tran Date: Tue, 19 May 2015 08:32:10 -0700 Subject: [PATCH] Fix typo --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ce1cf77..11110c0 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ function HtmlWebpackPlugin(options) { if(this.options.template.indexOf('!') === -1) { this.options.template = 'raw!' + path.resolve(this.options.template); } - // Resolve tempalte path + // Resolve template path this.options.template = this.options.template.replace( /(\!)(\.+\/[^\!\?]+)($|\?.+$)/, function(match, prefix, filepath, postfix) {