rsnext/test/e2e/next-font/with-font-declarations-file
Hannes Bornö b5590022b6
Font loaders next config shape (#41219)
Changes how font loaders are configured in next config, makes more sense since options can be optional. Also adds error for when font loaders are used from within node_modules.

## 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)
2022-10-07 09:15:57 +00:00
..
components Add support for font loaders (#40746) 2022-09-21 22:12:59 -07:00
pages Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
fonts.js Allow export const in font loader (#40836) 2022-09-23 20:40:59 +00:00
my-font.woff2 Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
next.config.js Font loaders next config shape (#41219) 2022-10-07 09:15:57 +00:00