-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
[bug] import failure i is not a function
#322
Comments
import emojiRegex from 'emoji-regex' |
No error for this import |
OK, could you share a minimal reproducible example project? A code you've described is working on Node.js module without any errors. If you are using a bundler, it may have met some kind of troubles about CommonJS interop from ESM. |
We have met exactly same situation in marp-team/marp-vscode. Here is a workaround: #323 may resolve bundler's confusion about default export in external emoji modules. |
Confirmed it was fixed in v3.4.1. |
caused error:
The text was updated successfully, but these errors were encountered: