Skip to content

Commit 3d39c26

Browse files
committed
CLI: Set STORYBOOK environment variable
1 parent 2a47ef9 commit 3d39c26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/core/src/bin/core.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { dev } from '../cli/dev';
1313
import { globalSettings } from '../cli/globalSettings';
1414

1515
addToGlobalContext('cliVersion', version);
16+
process.env.STORYBOOK = 'true';
1617

1718
/**
1819
* Core CLI for Storybook.

0 commit comments

Comments
 (0)