mhy
  • Introduction
  • Basics
    • Installation
    • Usage
    • UI
    • Ecosystem
    • How does it work?
  • Tools
    • Built-ins
      • boot
      • config
      • dep
      • options
      • ui
    • Processes
      • eslint
      • jest
      • node
      • nodemon
      • prettier
      • standard-version
      • storybook-start
      • storybook-build
      • tsc
      • webpack
      • webpack-bundle-analyzer
      • webpack-dev-server
    • Configs
      • eslint
      • gitignore
      • jest
      • manifest
      • mhy
      • npmignore
      • prettier
      • storybook
      • typescript
      • webpack
  • IDE setup
    • WebStorm & PHPStorm
    • VSCode
  • Recipes and Examples
    • package.json overrides
    • Add your own
  • Others
    • FAQ
    • Help
    • Development of mhy
    • Suggest a library
Powered by GitBook
On this page
  • Default command
  • CLI Options
  • Example

Was this helpful?

  1. Tools
  2. Processes

storybook-build

  • Alias: sb-build

  • Storybook is being setup to use mhy's Webpack and SWC config.

  • Builds a standalone version of your Storybook to the .sb directory.

Default command

build-storybook

CLI Options

https://storybook.js.org/docs/configurations/cli-options/#for-build-storybook

Example

mhy sb-build
# or
mhy storybook-build
Previousstorybook-startNexttsc

Last updated 2 years ago

Was this helpful?