build-storybook
Storybook build CLI tools
Options
Name | Description |
---|---|
-o, --output-dir <directory> | Directory where to store built files |
-w, --watch | Enables watch mode |
--loglevel <level> | Controls level of logging during build |
--help | Display usage information |
-V, --version | Display the version number |
-s, --static-dir <directory> | Directory where to load static files from, comma-separated list |
-c, --config-dir <directory> | Directory where to load Storybook configurations from |
--https | Serve Storybook over HTTPS. Note: You must provide your own certificate information |
--ssl-ca <certificate authority> | Provide an SSL certificate authority. (Optional with --https, required if using a self-signed certificate) |
--ssl-cert <certificate> | Provide an SSL certificate. (Required with --https) |
--ssl-key <key> | Provide an SSL key. (Required with --https) |
--smoke-test | Exit after successful start |
--ci | CI mode (skip interactive prompts, don't open browser) |
--quiet | Suppress verbose build output |
--no-dll | Do not use dll reference (no-op) |
--debug-webpack | Display final webpack configurations for debugging purposes |
--webpack-stats-json <directory> | Write Webpack Stats JSON to disk |
--docs | Starts Storybook in documentation mode |
--no-manager-cache | Disables 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 |