Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turbopack: Implement
next/font/local
with BeforeResolvePlugin
and…
… show custom error message (#65870) Depends on vercel/turborepo#8165 This: - Creates and uses a `BeforeResolvePlugin` to handle requests to `next/font/local/target.css` instead of `ImportMapping` replacers - Returns a `ResolveResultItem::Error` which includes a custom `StyledString` describing the missing font file Test Plan: `TURBOPACK=1 pnpm test-dev test/e2e/app-dir/next-font/next-font.test.ts`
- Loading branch information