Using this will override the default array, meaning that webpack will no longer tryto resolve modules usingthe default extensions.
For modules that are imported with their extension, e.g. import SomeFile from"./somefile.ext", to be properly resolved, anemptystring must be included inthe array.
在webpack.config.js做了少许更改后,运行webpack命令,突然出现以下错误:ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory'./es6/index.es6 in E:\Workspace\webpack-template123然而反复对比了目录结构,发现“es6