Skip to content

Commit 090474e

Browse files
authored
Merge pull request #33938 from storybookjs/yann/add-storybook-to-process-env
CLI: Set STORYBOOK environment variable
2 parents a833be6 + 3d39c26 commit 090474e

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)