-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
需要 monorepo 支持 #3116
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
这个问题由来已久. 我目前使用的是 yarn workspaces, 同时 taro 项目单独安装依赖: lerna.json "npmClient": "yarn",
"useWorkspaces": true, .yarnrc
package.json "workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"@myorg/mp/**",
"your-package-name/**"
]
}, |
This was referenced May 22, 2019
CC @luckyadam |
#3153 可能相应的pr并没有合并? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]
使用
lerna
建立monorepo 时,将依赖提升到根目录,编译小程序时引用@tarojs/taro-weapp/index.js
路径出错,表现为:系统信息
The text was updated successfully, but these errors were encountered: