Closed henhal closed 2 years ago
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 :)
Meow requires ESM.
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
It seems ìmportMeta
is mandatory, but
import.metais only available if
moduleis
es2020` etc.If using
meow
from a package usingmodule: commonjs
, what should be passed asimportMeta
?TBH I'm not sure what
importMeta
is used for so I couldn't immediately understand how to tackle this.