Skip to content

Commit 9ae768b

Browse files
committed
small fix
1 parent 21eb499 commit 9ae768b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/resolve.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = function(context, identifier, options, callback) {
6161
if(!options.postfixes)
6262
options.postfixes = ["", "-webpack", "-web"];
6363
if(!options.loaderExtensions)
64-
options.loaderExtensions = [".webpack-web-loader.js", ".webpack-loader.js", ".web-loader.js", ".loader.js", ".js", ""];
64+
options.loaderExtensions = [".webpack-web-loader.js", ".webpack-loader.js", ".web-loader.js", ".loader.js", "", ".js"];
6565
if(!options.loaderPostfixes)
6666
options.loaderPostfixes = ["-webpack-web-loader", "-webpack-loader", "-web-loader", "-loader", ""];
6767
if(!options.paths)

0 commit comments

Comments
 (0)