build-storybook

Storybook build CLI tools

Options

NameDescription
-o,--output-dir <command>Directory where to store built files
-w,--watchEnables watch mode
--loglevel <command>Controls level of logging during build
--helpDisplay usage information
-V,--versionDisplay the version number
-s,--static-dir <command>Directory where to load static files from, comma-separated list
-c,--config-dir <command>Directory where to load Storybook configurations from
--httpsServe Storybook over HTTPS. Note: You must provide your own certificate information
--ssl-ca <command>Provide an SSL certificate authority. (Optional with --https, required if using a self-signed certificate)
--ssl-cert <command>Provide an SSL certificate. (Required with --https)
--ssl-key <command>Provide an SSL key. (Required with --https)
--smoke-testExit after successful start
--ciCI mode (skip interactive prompts, don't open browser)
--quietSuppress verbose build output
--no-dllDo not use dll reference (no-op)
--debug-webpackDisplay final webpack configurations for debugging purposes
--webpack-stats-json <command>Write Webpack Stats JSON to disk
--docsStarts Storybook in documentation mode
--no-manager-cacheDisables Storybook's manager caching mechanism. NOTE: this flag disables the internal caching of Storybook and can severely impact your Storybook loading time, so only use it when you need to refresh Storybook's UI, such as when editing themes