提交 a060a51b 编写于 作者: fxy060608's avatar fxy060608

fix(mp): Match the root path of the sub-package exactly (question/99076)

上级 c2df5862
......@@ -44,7 +44,7 @@ function addSubPackagesRequire (compilation) {
assetsKeys.forEach(name => {
if (
path.extname(name) === '.js' &&
name.indexOf(root) === 0 &&
name.indexOf(root + '/') === 0 &&
name !== subPackageVendorPath
) {
const source =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册