Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turbopack: Support resolving to index.js with fully_specified (vercel…
…#71367) Closes PACK-3303 `next-mdx-remote` has no `main` field, only the fallback `next-mdx-remote/index.js` entry. This failed when using `fully_specified: true` because internally - `resolve_module_request("next-md-remote", "")` calls - `resolve_into_package(".../node_modules/next-mdx-remote")` calls - `resolve_into_folder(".../node_modules/next-mdx-remote")`. This codepath via `resolve_into_package` should work however even when `fully_specified`, as `await import("next-mdx-remote")` is also allowed by Node.js.
- Loading branch information