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 build fails with import from '.' #3098
Comments
This is linked with issue #2774. This is fixed in the source files but has not been released yet. I can confirm setting |
I just came across the same issue. Another work-around is to manually patch the file inside |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
lib/esm/static.d.ts
file in the (currently) latest version (1.0.0-rc.12
) defines:This causes ESM projects that use cheerio to fail to build as the import should be
... from './index.js
Error:
The text was updated successfully, but these errors were encountered: