Patch Changes
-
#2103
15a8356d
- Updates theexports
field ofpackage.json
files to replace the subpath
folder
mapping
syntax with an explicit list of all exported files.The
/
-suffixed syntax for subpath folder mapping originally used in these
files is deprecated. Rather than update to the new syntax, this change replaces
these mappings with individual entries for all exported files so that (a) users
must import using extensions and (b) bundlers or other tools that don't resolve
subpath folder mapping exactly as Node.js does won't break these packages'
expectations around how they're imported.