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

ESM export for color-fn #589

Open
bennyschudel opened this issue Aug 26, 2024 · 1 comment
Open

ESM export for color-fn #589

bennyschudel opened this issue Aug 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bennyschudel
Copy link

Hey there!

It seems that color-fn is only exported as cjs. Would it make sense to export it as esm too?
Would love to use it in observablehq.

Or is there a way to use it there without the Class API?

Thanks in advance!

Benny

@LeaVerou LeaVerou added the bug Something isn't working label Aug 29, 2024
@LeaVerou
Copy link
Member

That is certainly a bug, nothing should be exported as CJS only. Thanks for flagging that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants