Skip to content
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

Exports cjs and esm package #1076

Closed
MartinWeb opened this issue Oct 18, 2023 · 0 comments
Closed

Exports cjs and esm package #1076

MartinWeb opened this issue Oct 18, 2023 · 0 comments

Comments

@MartinWeb
Copy link
Contributor

MartinWeb commented Oct 18, 2023

Issue and Steps to Reproduce

When using vite/vitest we get an error on test on the footer component for example.
It seems to be an issue with the cjs / esm packaging method. In order to do be able to do the toolkit components on both cjs and esm applications, we should exports both files on all our packages.

Documentation :
https://antfu.me/posts/publish-esm-and-cjs

Versions

2.1.0-alpha.1

Screenshots

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant