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

Update esm import example #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jeffgca
Copy link

@jeffgca jeffgca commented Jun 21, 2022

Using import * as matter from 'gray-matter' gets to top level scope of the module, not the default export. I'm guessing at some point the module was adjusted to have a default export, and this change updates the readme to support that.

Using `import * as matter from 'gray-matter'` gets to top level scope of the module, not the default export. I'm guessing at some point the module was adjusted to have a default export, and this change updates the readme to support that.
@kunanyi
Copy link

kunanyi commented Jan 31, 2024

Thanks, this helps

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.

2 participants