rsnext/test/e2e/app-dir/app-external/node_modules_bak
Jiachi Liu a6d4c77f41
Prefer module over main on main fields for app router server compiler (#56960)
Reverts vercel/next.js#56766
Reland vercel/next.js#56532 

x-ref: https://vercel.slack.com/archives/C04DUD7EB1B/p1697576563771229?thread_ts=1697146531.305779&cid=C04DUD7EB1B

This change was breaking package which was actually a dual package but marked as esm module, and when the package is ESM but import a CJS dependency without fully spepcified file path it will fail to resolve. The way is to either remove the esmodule type in package.json or change the import to full path import with extension for the package
2023-10-19 16:06:47 +00:00
..
cjs-esm-compat Pick esm main fields and condition names first for RSC server layer (#50548) 2023-06-08 16:24:03 +00:00
cjs-lib Pick esm main fields and condition names first for RSC server layer (#50548) 2023-06-08 16:24:03 +00:00
client-cjs-import-esm-wildcard Pick esm main fields and condition names first for RSC server layer (#50548) 2023-06-08 16:24:03 +00:00
client-esm-module Fix client boundary defined in a module (#46171) 2023-02-21 15:20:45 +00:00
client-esm-module-wildcard Fix client boundary defined in a module (#46171) 2023-02-21 15:20:45 +00:00
client-esm-module-wildcard-2 Fix conflict when re-exporting multiple Client References (#49468) 2023-05-16 12:35:12 +02:00
client-module Fix package resolution issue in app dir (#43349) 2022-11-25 01:19:21 +00:00
compat-next-server-module Alias next/server for edge runtime (#50268) 2023-05-24 15:34:29 -07:00
conditional-exports Prefer module over main on main fields for app router server compiler (#56960) 2023-10-19 16:06:47 +00:00
conditional-exports-optout Prefer module over main on main fields for app router server compiler (#56960) 2023-10-19 16:06:47 +00:00
css Eagerly bundle external ESM dependencies for pages (#42741) 2022-11-10 18:11:38 +01:00
esm-with-react Eagerly bundle external ESM dependencies for pages (#42741) 2022-11-10 18:11:38 +01:00
font Add next/font import (#45891) 2023-02-16 15:33:39 +01:00
next-server-cjs-lib Pick esm main fields and condition names first for RSC server layer (#50548) 2023-06-08 16:24:03 +00:00
non-isomorphic-text Eagerly bundle external ESM dependencies for pages (#42741) 2022-11-10 18:11:38 +01:00
pure-esm-module Fix resolving for esm package with only exports.import condition (#42767) 2022-11-11 00:50:46 +00:00
server-module-field Prefer module over main on main fields for app router server compiler (#56960) 2023-10-19 16:06:47 +00:00
untranspiled-module Eagerly bundle external ESM dependencies for pages (#42741) 2022-11-10 18:11:38 +01:00