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
.cts
.mts
recent changes in tsup versions >=7.1.0 have introduced multiple built ts type dec files per format. see this PR: egoist/tsup#934
tsup
>=7.1.0
and also this comment about how to adjust package.json's exports block accordingly: total-typescript/shoehorn#9 (comment)
package.json
exports
{ "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } } }
The text was updated successfully, but these errors were encountered:
e69f274
No branches or pull requests
recent changes in
tsup
versions>=7.1.0
have introduced multiple built ts type dec files per format. see this PR: egoist/tsup#934and also this comment about how to adjust
package.json
'sexports
block accordingly:total-typescript/shoehorn#9 (comment)
The text was updated successfully, but these errors were encountered: