fix(tui): register storybook only for story runs (#39733)
This commit is contained in:
parent
cc883058df
commit
22d2012f75
1 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,8 @@ export const builtins = [
|
|||
SidebarFooter,
|
||||
Notifications,
|
||||
Plugins,
|
||||
Storybook,
|
||||
// The storybook is a development tool; keep its route and palette commands out of
|
||||
// normal launches and register it only for OPENCODE_STORY runs.
|
||||
...(process.env.OPENCODE_STORY ? [Storybook] : []),
|
||||
DiffViewer,
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue