mirror of https://github.com/webpack/webpack.git
small fix
This commit is contained in:
parent
21eb499a4e
commit
9ae768b774
|
@ -61,7 +61,7 @@ module.exports = function(context, identifier, options, callback) {
|
||||||
if(!options.postfixes)
|
if(!options.postfixes)
|
||||||
options.postfixes = ["", "-webpack", "-web"];
|
options.postfixes = ["", "-webpack", "-web"];
|
||||||
if(!options.loaderExtensions)
|
if(!options.loaderExtensions)
|
||||||
options.loaderExtensions = [".webpack-web-loader.js", ".webpack-loader.js", ".web-loader.js", ".loader.js", ".js", ""];
|
options.loaderExtensions = [".webpack-web-loader.js", ".webpack-loader.js", ".web-loader.js", ".loader.js", "", ".js"];
|
||||||
if(!options.loaderPostfixes)
|
if(!options.loaderPostfixes)
|
||||||
options.loaderPostfixes = ["-webpack-web-loader", "-webpack-loader", "-web-loader", "-loader", ""];
|
options.loaderPostfixes = ["-webpack-web-loader", "-webpack-loader", "-web-loader", "-loader", ""];
|
||||||
if(!options.paths)
|
if(!options.paths)
|
||||||
|
|
Loading…
Reference in New Issue