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 support #251

Closed
unional opened this issue Nov 23, 2022 · 0 comments · Fixed by #252
Closed

ESM support #251

unional opened this issue Nov 23, 2022 · 0 comments · Fixed by #252

Comments

@unional
Copy link
Contributor

unional commented Nov 23, 2022

Is there any plan to update and support ESM?

There was a closed issue in the past #235, but that's old and is about adding module: '...'.

It would be great to support proper ESM:

{
  "type": "module",
  "exports": {
    "import": "./esm/index.js",
     "require": "./cjs/index.js" // if supporting both ESM and cjs
   }
}
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

Successfully merging a pull request may close this issue.

1 participant