turbo
8df40435 - fix: Exclude framework-inferred env vars with wildcards (#11303)

Commit
158 days ago
fix: Exclude framework-inferred env vars with wildcards (#11303) ### Description Framework inference opt-out via negative env wildcards in `globalEnv` (e.g., "globalEnv": ["!VITE_*"]) was not working as documented. As described in https://github.com/vercel/turborepo/issues/10826, `globalEnv` wasn't making its way to per-task contexts. With this PR, we propagate those changes down to task execution context to meet user expectations. ### Testing Instructions Adding some tests around this behavior and hand tested myself. <sub>CLOSES https://github.com/vercel/turborepo/issues/10826</sub> <sub>CLOSES TURBO-4831</sub> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Author
Parents
Loading