npm-esm-vs-cjs
npm-esm-vs-cjs copied to clipboard
'@puppeteer/browsers' is classified as cjs?
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.