Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Storybook build args #4455

3 changes: 1 addition & 2 deletions packages/cli/src/commands/storybook.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const builder = (yargs) => {
.option('open', {
describe: 'Open storybooks in your browser on start',
type: 'boolean',
default: true,
default: false,
})
.option('build', {
describe: 'Build Storybook',
Expand Down Expand Up @@ -85,7 +85,6 @@ export const handler = ({
!build && '--no-version-updates',
!managerCache && '--no-manager-cache',
build && `--output-dir "${buildDirectory}"`,
!open && !smokeTest && `--ci`,
smokeTest && `--ci --smoke-test`,
].filter(Boolean),
{
Expand Down