Skip to content

Commit

Permalink
Merge pull request #21732 from zigang93/next
Browse files Browse the repository at this point in the history
fix(core-common): fix missing env at StorybookConfig
  • Loading branch information
ndelangen authored Mar 24, 2023
2 parents ace7dd8 + 0d68046 commit 7d073d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/lib/types/src/modules/core-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ export interface BuilderOptions {
cache?: FileSystemCache;
configDir: string;
docsMode?: boolean;
env?: (envs: Record<string, string>) => Record<string, string>;
features?: StorybookConfig['features'];
versionCheck?: VersionCheck;
releaseNotesData?: ReleaseNotesData;
Expand Down Expand Up @@ -357,6 +356,11 @@ export interface StorybookConfig {
options: Options
) => TransformOptions | Promise<TransformOptions>;

/**
* Modify or return env config.
*/
env?: PresetValue<Record<string, string>>;

/**
* Modify or return babel config.
*/
Expand Down

0 comments on commit 7d073d7

Please sign in to comment.