supabase compute builds accept exclude patterns
Introduced 2026-09-25 · score 0.95
HOW TO USE IT
When excluding repository files from a Supabase Compute build, add an `exclude` string list under `[compute.<name>]` in `supabase/config.toml`; `supabase compute push <name>` omits matching paths from the uploaded build context.
[compute.<name>]
exclude = [".env", "node_modules/", "*.log"]supabase compute push <name>WHY THIS HELPS
Exclude files from compute build contexts in a repository.
REQUIREMENTS AND LIMITATIONS
- Version: 2.118.0
- [compute.<name>].exclude: List of string patterns for paths to omit from the build context. Patterns use `.gitignore`-style matching; re-inclusion (`!`) and malformed or empty patterns are refused.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON