Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: add exports field for support esm #141

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

SoYoung210
Copy link
Contributor

Related PR: radix-ui/primitives#2130

For TypeScript and Node.js to support the ECMAScript Module, the exports field must be specified.
It is my understanding that the module field currently specified in package.json is a 'non-standard' field supported by webpack/rollup.
(https://webpack.js.org/guides/author-libraries/#final-steps)

@vercel
Copy link

vercel bot commented May 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cmdk-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 26, 2023 2:27pm

@pacocoursey pacocoursey merged commit c63d6ec into pacocoursey:main Jan 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants