Failed to resolve import source when using PNPM #10916
Replies: 2 comments 6 replies
-
你需要提供一个最小化的复现demo,方便排查问题。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
試試 "types": "./src/index.ts",
"exports": {
".": {
"import": {
"types": "./src/index.ts",
"default": "./src/index.ts"
}
}
}, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在PNPM的项目中,有工作区A 和 工作区B,工作区A,定义type AA ,工作区B的组件中引用了type AA。
进行了如下定义:
vue版本是3.4.21,请问下,是什么原因导致的?
发现了类似问题的 issue:#10121 ,不知道是否修复了,还是使用姿势不对。
这是一个可以复现的仓库:https://github.com/jide1022/pnpm-issue-report
Beta Was this translation helpful? Give feedback.
All reactions