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

CommonJS support - include index.cjs #56

Closed
fenos opened this issue Oct 27, 2021 · 1 comment
Closed

CommonJS support - include index.cjs #56

fenos opened this issue Oct 27, 2021 · 1 comment

Comments

@fenos
Copy link

fenos commented Oct 27, 2021

Hello, since you are now using native esm modules, it is not possible to install this library in any commonjs projects using typescript.

As far as i know, you have to include an index.cjs in order for it to work on legacy commonjs projects

@fenos fenos changed the title include index.cjs CommonJS support - include index.cjs Oct 27, 2021
@sindresorhus
Copy link
Owner

No plans to bring back Common JS support: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

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

2 participants