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

fix: emojimart import #950

Merged
merged 2 commits into from
Jul 18, 2024
Merged

fix: emojimart import #950

merged 2 commits into from
Jul 18, 2024

Conversation

YousefED
Copy link
Collaborator

@YousefED YousefED commented Jul 18, 2024

temporary fix following this solution: https://stackoverflow.com/questions/76767943/how-to-import-esm-libraries-without-setting-type-module-in-package-json-fil

fixes:

SyntaxError: Named export 'SearchIndex' not found. The requested module 'emoji-mart' is a CommonJS module, which may not support all module.exports as named exports.

when used in nodejs

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jul 18, 2024 6:51pm
blocknote-website ✅ Ready (Inspect) Visit Preview Jul 18, 2024 6:51pm

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 this pull request may close these issues.

None yet

1 participant