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

How to use with commonjs? #204

Closed
henhal opened this issue Jan 20, 2022 · 2 comments
Closed

How to use with commonjs? #204

henhal opened this issue Jan 20, 2022 · 2 comments

Comments

@henhal
Copy link

henhal commented Jan 20, 2022

It seems ìmportMetais mandatory, butimport.metais only available ifmoduleises2020` etc.

If using meow from a package using module: commonjs, what should be passed as importMeta?

TBH I'm not sure what importMeta is used for so I couldn't immediately understand how to tackle this.

@papb
Copy link

papb commented Jan 20, 2022

You need to use v9 of meow.

https://github.com/sindresorhus/meow/tree/v9.0.0

Also you have a mistake in your markdown rendering, I'd edit for you if I had permissions to do so :)

@sindresorhus
Copy link
Owner

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

No branches or pull requests

3 participants