sindresorhus / meow

🐈 CLI app helper
MIT License
3.54k stars 151 forks source link

Can't work on "module" package #180

Closed fisker closed 3 years ago

fisker commented 3 years ago

When cli is "module", this line will fail.

sindresorhus commented 3 years ago

It's working fine for me: https://github.com/sindresorhus/to-double-quotes-cli/blob/c6286625d06140f35f1138597a125fb353497a09/package.json#L13

We do need to remove that line for when meow moves to ESM, but meow should be fully ESM compatible already as ESM can import CommonJS.

https://github.com/sindresorhus/meow/issues/176

fisker commented 3 years ago

Sorry, I should search first.