From ccd9ddfe3aebfde6428ff61cb9d3e2116b816a73 Mon Sep 17 00:00:00 2001 From: yusuke <66258931+yusuke99@users.noreply.github.com> Date: Tue, 20 Oct 2026 15:54:45 +0900 Subject: [PATCH] docs: clarify that run.cache is only supported in workspace root --- docs/config/run.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/config/run.md b/docs/config/run.md index be5b087c10..73b03cceb1 100644 --- a/docs/config/run.md +++ b/docs/config/run.md @@ -56,6 +56,10 @@ export default defineConfig({ `cache: true` enables both task and script caching, `cache: false` disables both. +::: warning +This option can only be set in the workspace root's `vite.config.ts`. Setting it in a package's config will result in an error. +::: + ## `run.tasks` - **Type:** `Record`