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
For TypeScript > 4.5, it supports exports in package.json. However, the definition files need to be the same name or types is needed to be defined.
exports
types
Currently
{ "exports": { ".": { "import": "./icons-react/dist/index.esm.js", "require": "./icons-react/dist/index.cjs.js" }, "./iconfont/*": "./iconfont/*", "./*": [ "./icons/*", "./icons-png/*" ] } }
It should be
{ "exports": { ".": { "import": "./icons-react/dist/index.esm.js", "require": "./icons-react/dist/index.cjs.js", "types": "./icons-react/index.d.ts" }, "./iconfont/*": "./iconfont/*", "./*": [ "./icons/*", "./icons-png/*" ] } }
The text was updated successfully, but these errors were encountered:
codecalm
No branches or pull requests
For TypeScript > 4.5, it supports
exports
in package.json. However, the definition files need to be the same name ortypes
is needed to be defined.Currently
It should be
The text was updated successfully, but these errors were encountered: