mirror of
https://github.com/Rohithgilla12/data-peek
synced 2026-04-21 12:57:16 +00:00
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:
parent
f388e75834
commit
9c58d539a5
1 changed files with 5 additions and 0 deletions
|
|
@ -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/**"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue