Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

指定 pages 下的某个文件夹为分包后,subPackages 中正确生成了分包路径,但是 pages 中没有排除分包路径。 #189

Open
5 of 7 tasks
yeyuqh opened this issue Nov 15, 2024 · 2 comments

Comments

@yeyuqh
Copy link

yeyuqh commented Nov 15, 2024

描述问题

#152 相关
CleanShot 2024-11-15 at 16 48 41@2x

复现

系统信息

使用的包管理器

pnpm

核对

贡献

  • 我愿意提交一个 PR 修复这个问题
  • 我愿意提交一个 PR 带有失败的测试(实际上只要去做就好,谢谢!)
@yeyuqh
Copy link
Author

yeyuqh commented Nov 22, 2024

目前临时的解决方法是在 onBeforeWriteFile 中将 pagesPath 和 pageMetaData 中的分包路径过滤掉。

@Skiyee
Copy link
Member

Skiyee commented Dec 8, 2024

我不认可这是分包的最佳实践,但尊重选择
如果得空,我们将尽快修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants