rsnext/packages/next-swc/crates/core/tests
Hannes Bornö 75bbf00a8f
Add local font loader (#40801)
Moves font related types to `next/font` so they can be reused in font
loaders.

Adds an argument to font loaders, the relative path from the app root to
the module consuming the loader. Needed for resolving local files
relative to the module calling it. Also used to improve error message.

Adds `@next/font/local` font loader. Similar to `@next/font/google` but
used to host locally downloaded font files.
2022-09-22 12:49:02 -07:00
..
errors Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
fixture Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
full chore: Update swc (#40520) 2022-09-15 14:22:11 +02:00
loader chore: Update swc (#40520) 2022-09-15 14:22:11 +02:00
errors.rs Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
fixture.rs Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
full.rs next-swc: add next-font-loaders to crates/core (#40221) 2022-09-21 13:35:49 -07:00
telemetry.rs chore: Update swc (#39965) 2022-09-04 12:13:22 +02:00