@nrwl/storybook:build

Build storybook in production mode.

Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.

Options

config

Required

.storybook file configuration

docsMode

boolean
Default: false

Build a documentation-only site using addon-docs.

outputPath

string

The output path of the generated files.

projectBuildConfig

string

Workspace project where Storybook reads the Webpack config from.

quiet

boolean
Default: true

Suppress verbose build output.

styles

Array<oneOf [object , string]>

Global styles to be included in the build. This is for Angular projects only. It will be ignored in non-Angular projects.

stylePreprocessorOptions

Options to pass to style preprocessors.

uiFramework

RequiredHidden
string
Default: @storybook/angular

Storybook framework npm package.