fix 分包时处理path路径问题
This commit is contained in:
parent
d9e34f8298
commit
7d99a929b7
|
|
@ -179,7 +179,7 @@ class OakWeChatMpPlugin {
|
||||||
independentPageRoots.push(subPage.root);
|
independentPageRoots.push(subPage.root);
|
||||||
}
|
}
|
||||||
for (const page of subPage.pages || []) {
|
for (const page of subPage.pages || []) {
|
||||||
pages.push(path.join(subPage.root, page));
|
pages.push(replaceDoubleSlash(path.join(subPage.root, page)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue