Support syntax and Node.js ESM/CJS checks
privatenumber opened this issue · comments
Hiroki Osame commented
https://twitter.com/grumd_osu/status/1684845992821026816?s=20
For ESM detection, we should use:
https://github.com/guybedford/es-module-lexer
For CJS detection: