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

建议增加sub-modules文件目录,给所有分包共享使用 #4876

Open
charlesluo2014 opened this issue Apr 29, 2024 · 1 comment
Open

Comments

@charlesluo2014
Copy link

在开发过程中,由于小程序大小限制,用uniapp开发很容易就超过2M限制,解决大小限制只能分包,但是分包的时候有很多组件是在分包中共享的,有各个分包中依赖共同组建的需求。所以建议增加sub-modules目录,在编译打包的时候,将内容放到各个分包的对应目录中

@zhouyu1993
Copy link

zhouyu1993 commented May 17, 2024

自己在分包中建 sub-modules 文件就行了吧

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