qiniu / builder

Apache License 2.0
34 stars 33 forks source link

fix resolve modules #168

Closed Luncher closed 2 years ago

Luncher commented 2 years ago

问题: 项目中存在同一个 package 的不同版本,编译的时候没有正确地解析加载到正确的版本。

参考: https://github.com/webpack/webpack/issues/6538 https://webpack.js.org/configuration/resolve/#resolvemodules