This commit is contained in:
Kenny Tran 2015-05-19 08:32:10 -07:00 committed by Jan Nicklas
parent f1d3d95af6
commit c7225f7abb
1 changed files with 1 additions and 1 deletions

View File

@ -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) {