rsnext/docs
JJ Kasper a485dc9af1
Add top-level trace include/exclude config (#44605)
This adds a top-level experimental config for including/excluding files
from the file traces. This replaces the page level
`unstable_includeFiles`/`unstable_excludeFiles` as those had some
drawbacks such as not being supported for API routes as these files
aren't required during build to gather the configs, having to duplicate
includes/excludes for multiple pages, and causing more confusion for
where the globs were meant to be relative to.

The new top-level configs allow mapping page globs to includes/excludes
so they can be shared across multiple pages or a single page. These can
also affect the `next-server` trace by specifying that as the key if
necessary. The previous `outputFileTraceIgnores` config is automatically
mapped to the new config with a deprecation warning.

## 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`
- [ ]
[e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
tests added
- [x] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
2023-02-14 12:09:47 -08:00
..
advanced-features Add top-level trace include/exclude config (#44605) 2023-02-14 12:09:47 -08:00
api-reference Turbopack experimental fields docs and schema (#45560) 2023-02-08 23:10:26 +00:00
api-routes feat: enables 'edge' as a possible runtime for API routes (#44045) 2022-12-15 10:08:03 +01:00
basic-features [ESLint] Add app dir to default linting directories (#44426) 2023-02-07 13:53:46 -08:00
guides Update building-forms.md (#44862) 2023-01-13 14:34:55 -08:00
migrating docs(migrating): fix broken react-router link (#43843) 2022-12-08 10:28:36 -08:00
routing fixed missing <Link /> keyword (#42422) 2022-11-03 11:07:01 -07:00
accessibility.md Add documentation on accessibility. (#38522) 2022-07-14 13:05:39 +00:00
authentication.md Alphabetize auth docs providers. (#34281) 2022-02-13 00:51:53 +00:00
deployment.md Docs: Update deployment.md with Firebase, Amplify and Cloudflare (#44092) 2022-12-17 15:26:29 +00:00
faq.md doc: improve a word client side rendering (#39771) 2022-08-22 14:55:46 -05:00
getting-started.md Update getting-started documentation (#45284) 2023-01-26 01:25:42 +00:00
going-to-production.md chore: fix docs link to minimumCacheTTL (#45502 2023-02-01 17:31:35 -08:00
manifest.json Turbopack experimental fields docs and schema (#45560) 2023-02-08 23:10:26 +00:00
testing.md Add Cypress component testing to docs & example (#44869) 2023-02-07 23:42:35 +00:00
upgrading.md Fix Node.js version to 14.6.0 in Upgrading guide. (#44939) 2023-01-16 22:11:00 +00:00