Closed wbinnssmith closed 3 weeks ago
Depends on vercel/turbo#8165
This:
BeforeResolvePlugin
next/font/local/target.css
ImportMapping
ResolveResultItem::Error
StyledString
Test Plan: TURBOPACK=1 pnpm test-dev test/e2e/app-dir/next-font/next-font.test.ts
TURBOPACK=1 pnpm test-dev test/e2e/app-dir/next-font/next-font.test.ts
Depends on vercel/turbo#8165
This:
BeforeResolvePlugin
to handle requests tonext/font/local/target.css
instead ofImportMapping
replacersResolveResultItem::Error
which includes a customStyledString
describing the missing font fileTest Plan:
TURBOPACK=1 pnpm test-dev test/e2e/app-dir/next-font/next-font.test.ts