Implement next/font BeforeResolvePlugins as ImportMappingReplacement (#95808)
ImportMappingReplacement are more efficient: import maps are backed by a single radix tree, as opposed to having to run every single ResolvePlugin's matchers in sequence. This basically undoes https://github.com/vercel/next.js/pull/65870 by @wbinnssmith, but I don't entirely understand why this was done: > This is used to replace ImportMapping replacers for @next/font/local in an upcoming Next.js PR
Showing
This diff is collapsed.
Please
register
or
sign in
to comment