npm-esm-vs-cjs icon indicating copy to clipboard operation
npm-esm-vs-cjs copied to clipboard

'@puppeteer/browsers' is classified as cjs?

Open OrKoN opened this issue 5 months ago • 1 comments

I have noticed that @puppeteer/browsers seems to be classified as cjs although the exports map contains both require and import. It looks like dual esm/cjs packages might not be always detected correctly?

Also, I verified that for @puppeteer/browsers the ESM version is correctly picked up by Node's module loader.

OrKoN avatar Sep 01 '24 09:09 OrKoN