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
Declare package exports #6648
Declare package exports #6648
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: ec2d979 The changes in this PR will be included in the next version bump. This PR includes changesets to release 87 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
dd95731
to
ab887d4
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit ec2d979:
|
ce5d939
to
0cb75ff
Compare
0cb75ff
to
ad86a62
Compare
ac802c7
to
6b2dfef
Compare
0172eb3
to
fd72680
Compare
I think this change has introduced a regression, because TypeScript can no longer resolve types of
Since this PR introduced "exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
+ "types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
}, |
https://webpack.js.org/guides/package-exports/