Commit 3f3ad38c authored by Guy Bedford's avatar Guy Bedford Committed by Rich Trott
Browse files

module: reintroduce package exports dot main



This reintroduces the dot main in exports as discussed in the previous
Node.js modules meeting.

The implementation includes both CommonJS and ES module resolution with
the associated documentation and resolver specification changes.

In addition to the dot main, "exports" as a string or direct fallback
array is supported as well.

Co-Authored-By: default avatarGeoffrey Booth <GeoffreyBooth@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/29494


Reviewed-By: default avatarJan Krems <jan.krems@gmail.com>
Reviewed-By: default avatarMyles Borins <myles.borins@gmail.com>
parent 17e420b2
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