diff options
Diffstat (limited to 'node_modules/html-webpack-plugin/lib/loader.js')
-rw-r--r-- | node_modules/html-webpack-plugin/lib/loader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/html-webpack-plugin/lib/loader.js b/node_modules/html-webpack-plugin/lib/loader.js index e1af5e513..6b8bd0d8e 100644 --- a/node_modules/html-webpack-plugin/lib/loader.js +++ b/node_modules/html-webpack-plugin/lib/loader.js @@ -17,7 +17,7 @@ module.exports = function (source) { return source; } // Skip .js files - if (/\.js$/.test(this.request)) { + if (/\.js$/.test(this.resourcePath)) { return source; } |