Skip to content

Navigation Menu

Sign in
Sign up

Custom Storybook version feature won't work for v8 #156

Open

Description

Defining custom Storybook version done in #107 is capped at Storybook v8 due to breaking change in Storybook CLI.

It's mentioned in the PR, but I've done some digging and here's where it failed. Might not be the only blocker

Code:

"storybook": "concurrently --i -c \"red,blue,yellow\" -n storybook,watch-components,watch-data \"storybook dev --quiet -c $STORYBOOK_CONFIG_PATH -s $STORYBOOK_STATIC_PATH -p $STORYBOOK_PORT\" \"npm run watch-components\" \"npm run watch-data\"",

Issue:

- -s $STORYBOOK_STATIC_PATH

Reference:

With the release of Storybook 8, the -s CLI flag was removed. We recommend using the static directory instead if you need to serve static files.

Source:

https://storybook.js.org/docs/8/api/cli-options

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /