lukeed / resolve.exports

A tiny (952b), correct, general-purpose, and configurable `"exports"` and `"imports"` resolver without file-system reliance
MIT License
368 stars 15 forks source link

Changes to Node.js `exports` specification #11

Closed merceyz closed 3 years ago

merceyz commented 3 years ago

Node.js has changed their exports specification deprecating trailing slash pattern mappings in https://github.com/nodejs/node/pull/40039 and added support for pattern trailers in https://github.com/nodejs/node/pull/39635 so some changes might be required.

lukeed commented 3 years ago

This is already supported. The deprecated syntax will continue to be supported because it's still widely used and Node also supports it (and will for a long time as it's part of LTS)