fix(turbo): include notes/ as input to web build

The blog page reads notes/*.mdx at build time, but notes/ lives outside
apps/web so Turbo's default in-package hashing missed it. Adding new
posts to notes/ resulted in FULL TURBO cache hits that replayed the
stale build, leaving new posts invisible on the live blog.

Declare notes/** as an extra input for @data-peek/web#build so any
change under notes/ busts the cache and triggers a real rebuild.
This commit is contained in:
Rohith Gilla 2026-04-11 10:21:20 +05:30
parent f388e75834
commit 9c58d539a5
No known key found for this signature in database

View file

@ -24,6 +24,11 @@
".output/**"
]
},
"@data-peek/web#build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", "../../notes/**"],
"outputs": [".next/**", "!.next/cache/**"]
},
"build:mac": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "out/**"],