Commit 8ee604ca authored by Guy Bedford's avatar Guy Bedford
Browse files

esm: ensure require.main for CJS top-level loads

PR-URL: https://github.com/nodejs/node/pull/21150


Reviewed-By: default avatarBradley Farias <bradley.meck@gmail.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarGus Caplan <me@gus.host>
Reviewed-By: default avatarTiancheng "Timothy" Gu <timothygu99@gmail.com>
parent eb2d3a3b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment