Skip to content

Commit

Permalink
Merge pull request #14566 from lihbr/fix/core-server-build-config-inc…
Browse files Browse the repository at this point in the history
…onsistency

fix(core-server): build config inconsistency
  • Loading branch information
shilman committed Apr 14, 2021
1 parent 30179aa commit 2324636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-server/src/build-static.ts
Expand Up @@ -107,7 +107,7 @@ export async function buildStatic({ packageJson, ...loadOptions }: LoadOptions)
...cliOptions,
...loadOptions,
packageJson,
configDir: cliOptions.configDir || './.storybook',
configDir: loadOptions.configDir || cliOptions.configDir || './.storybook',
outputDir: loadOptions.outputDir || cliOptions.outputDir || './storybook-static',
ignorePreview: !!loadOptions.ignorePreview || !!cliOptions.previewUrl,
docsMode: !!cliOptions.docs,
Expand Down

0 comments on commit 2324636

Please sign in to comment.