Skip to content

Commit

Permalink
fix(storybook): dont override native params
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #7531
  • Loading branch information
mandarini committed Sep 27, 2022
1 parent 5d74e43 commit 96c25e7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ function storybookOptionMapper(
frameworkOptions,
context
),
mode: 'static',
outputDir: builderOptions.outputPath,
mode: builderOptions?.['mode'] ?? 'static',
outputDir:
(builderOptions?.['outputDir'] || builderOptions?.['output-dir']) ??
builderOptions.outputPath,
};

return storybookOptions;
Expand Down

0 comments on commit 96c25e7

Please sign in to comment.