Fix typo
This commit is contained in:
parent
f1d3d95af6
commit
c7225f7abb
2
index.js
2
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue