We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System: OS: macOS 15.0 CPU: (12) arm64 Apple M3 Pro Memory: 3.05 GB / 36.00 GB Shell: 5.9 - /bin/zsh Browsers: Safari: 18.0
按照教程设置ui的package.json exports ./utils和./component的source,并且在web的modern.config.ts里设置experiments.sourceBuild: true,但是设置之后,在import ui的时候,并不可以使用exports的路径,而是提示ui的包路径。
https://github.com/slevisp/modern_mono
pnpm install之后, 可以尝试在web/src/routes/page.tsx里去import ui,可以看到提示的路径。
The text was updated successfully, but these errors were encountered:
并不可以使用exports的路径,而是提示ui的包路径。
这个可否提供更多的说明
Sorry, something went wrong.
No branches or pull requests
版本信息
System:
OS: macOS 15.0
CPU: (12) arm64 Apple M3 Pro
Memory: 3.05 GB / 36.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Safari: 18.0
问题详情
按照教程设置ui的package.json exports ./utils和./component的source,并且在web的modern.config.ts里设置experiments.sourceBuild: true,但是设置之后,在import ui的时候,并不可以使用exports的路径,而是提示ui的包路径。
复现链接
https://github.com/slevisp/modern_mono
复现步骤
pnpm install之后,
可以尝试在web/src/routes/page.tsx里去import ui,可以看到提示的路径。
The text was updated successfully, but these errors were encountered: