Files
Anthony ShewandGitHub 0741e9e07f docs: Exclude Next dev output from cache examples (#13019)
## Why

Next.js writes development server output to `.next/dev`, which can
unnecessarily inflate Turborepo cache artifacts when examples cache
`.next/**`. Excluding it keeps current Next.js output recommendations
aligned with Next.js behavior and fixes #13018.

## What

Adds `!.next/dev/**` to current Next.js `outputs` examples, docs, local
app config, and bundled guidance that already exclude `.next/cache/**`.
Historical blog posts and tests are left unchanged.

## How

Verified with stale-pattern scans, `oxfmt --check`, targeted docs/config
review, and pre-push hooks for format, TOML formatting, and Rust checks.
2026-06-03 21:05:00 +00:00

20 lines
387 B
JSON

{
"$schema": "https://turborepo.dev/schema.json",
"ui": "tui",
"tasks": {
"build": {
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**", "!.next/dev/**"],
"dependsOn": ["^build"]
},
"dev": {
"cache": false,
"persistent": true
},
"lint": {},
"clean": {
"cache": false
}
}
}