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

Add --build-command flag #590

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions chromatic-config/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
"defaultComment": "Inferred from CI or Git",
"supports": ["CLI", "GitHub Action"]
},
{
"option": "buildCommand",
"flag": "--build-command",
"description": "The command that builds your Storybook. Use this if your Storybook build command does not exist in the \"scripts\" field of your package.json.<br/>Requires `--output-dir`.",
"type": "string",
"example": "`\"nx run my-app:build-storybook\"`",
"supports": ["CLI", "GitHub Action", "Config File"]
},
{
"option": "buildScriptName",
"flag": "--build-script-name",
Expand Down
Loading