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

monorepo 本地优化 #77

Open
jo0ger opened this issue Jan 23, 2024 · 1 comment
Open

monorepo 本地优化 #77

jo0ger opened this issue Jan 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jo0ger
Copy link

jo0ger commented Jan 23, 2024

现在我的仓库是 Monorepo 的,比如要本地启动 packages/A,现在 A 是 import 了 B 的,需要能够在页面上 跳转到 packages/B 的 代码里

因为 monorepo 在 yarn install 的时候把 packages 下的模块 symlink 到了 node_modules 下,所以现在是不支持跳转到 B 里的,

另外还需要映射到 packages B 的真实路径 pacakges/B/src/xxx,而不是 node_modules/B/src/xxx

@zh-lx zh-lx added the enhancement New feature or request label Jan 23, 2024
@zh-lx
Copy link
Owner

zh-lx commented Jan 23, 2024

收到,近期我看下这种场景

@zh-lx zh-lx added bug Something isn't working and removed bug Something isn't working labels Feb 1, 2024
@zh-lx zh-lx changed the title 支持 Monorepo 下的单项目的本地开发 monorepo 本地优化 Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants