-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
version 5.0 needs babel retranspilation #34
Comments
Please read the release notes. |
Duplicate of #32 |
I believe pure ESM module is not ready yet. As someone who uses ts-node, the support doesn't seem to be mature enough.. |
bootleq
added a commit
to bootleq/delocalizer
that referenced
this issue
Dec 2, 2022
escape-string-regexp v5 is esm only sindresorhus/escape-string-regexp#34
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
up to version 4.0 of escape-string-regexp, the function was exported with
In 5.0, it's exported with
This causes several issue:
With jest
With ts-node:
With jest I managed to fix the error forcing the retranspilation in jest.config.js
with webpack I do something similar.
But with ts-node I'm not sure how to fix it.
Would you consider publishing the package with the previous export method to simplify the import process?
thanks
The text was updated successfully, but these errors were encountered: