Declare embed standalone bundle as a Turbo build output (RND-11876) (#4386)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Zeno Kapitein
2026-07-10 13:51:48 +02:00
committed by GitHub
parent a9a52fee72
commit e73b182925
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix the docs embed widget shipping a stale script: declare the embed package's `standalone/` bundle as a Turbo build output. Because it wasn't declared, changes confined to the standalone widget (which compiles to `standalone/` but not `dist/`) didn't invalidate the downstream `generate` cache that copies it into the app, so the deployed widget could lag the source — e.g. the `clipboard-write` permission on the widget iframe never reached production, breaking the copy button in the Assistant embed.
+8
View File
@@ -0,0 +1,8 @@
{
"extends": ["//"],
"tasks": {
"build": {
"outputs": ["dist/**", "standalone/**"]
}
}
}