fix 分包时处理path路径问题

This commit is contained in:
Wang Kejun 2023-04-17 10:17:36 +08:00
parent d9e34f8298
commit 7d99a929b7
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class OakWeChatMpPlugin {
independentPageRoots.push(subPage.root);
}
for (const page of subPage.pages || []) {
pages.push(path.join(subPage.root, page));
pages.push(replaceDoubleSlash(path.join(subPage.root, page)));
}
}