-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
types field in package.json exports doesn't work #51862
Comments
Same problem after the update from 4.9.3 to 4.9.4. It looks like it happened with monorepo. I am using yarn 3.3.0 workspaces |
You are using |
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Bug Report
🔎 Search Terms
types, package.json, exports, import entry points
🕗 Version & Regression Information
typescript
:^4.9.4
Reproduce:
git clone https://github.com/tjx666/ts-exports-development
git reset --hard 70706c6845b0d8c1e55e4ab53619b91c77bcc37d
pnpm install
cd packages/app
tsc --noEmit
⏯ Playground Link
Reproduce Repo
💻 Code
monorepo project structure:
In packages/app/src/index.ts
In packages/tools/src/index.ts
the package.json of package tools
🙁 Actual behavior
🙂 Expected behavior
No error
The text was updated successfully, but these errors were encountered: