299f392d7b
Adds support for generating a fallback font by providing font override metrics for the given local font. Also adds support for providing a CSS variable name that then can be accessed through the `.variable` export, it contains the hashed font family name. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) Co-authored-by: JJ Kasper <jj@jjsweb.site> |
||
---|---|---|
.. | ||
css-loader | ||
next-edge-ssr-loader | ||
next-flight-loader | ||
next-font-loader | ||
next-serverless-loader | ||
next-style-loader | ||
postcss-loader | ||
resolve-url-loader | ||
error-loader.ts | ||
get-module-build-info.ts | ||
next-app-loader.ts | ||
next-client-pages-loader.ts | ||
next-edge-function-loader.ts | ||
next-flight-client-entry-loader.ts | ||
next-flight-css-dev-loader.ts | ||
next-image-loader.js | ||
next-middleware-asset-loader.ts | ||
next-middleware-loader.ts | ||
next-middleware-wasm-loader.ts | ||
next-swc-loader.js | ||
noop-loader.ts | ||
utils.ts |