Skip to content

[Bug]: Storybook build no longer created under web #633

@cdubz

Description

@cdubz

What's not working?

The storybook command as documented should build in the web directory, but it now builds in the root directory.

How do we reproduce the bug?

yarn cedar sb --build

Note the resulting build is in public/storybook, not web/public/storybook as documented/expected.

The same applies when using the --build-directory flag.

What's your environment? (If it applies)

System:
    OS: macOS 26.1
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.11.1 - /private/var/folders/1j/5d7c51ps6xg3gfkgknh0gshh0000gp/T/xfs-869173e6/node
    Yarn: 4.9.4 - /private/var/folders/1j/5d7c51ps6xg3gfkgknh0gshh0000gp/T/xfs-869173e6/yarn
  Databases:
    SQLite: 3.51.0 - /usr/bin/sqlite3
  Browsers:
    Chrome: 143.0.7499.41
    Safari: 26.1
  npmPackages:
    @cedarjs/cli-storybook-vite: 2.0.2 => 2.0.2 
    @cedarjs/core: 2.0.2 => 2.0.2 
    @cedarjs/project-config: 2.0.2 => 2.0.2 
    @cedarjs/testing: 2.0.2 => 2.0.2 
  redwood.toml:
    [web]
      title = "Cedar App"
      port = 8910
      apiUrl = "/.redwood/functions"
      includeEnvironmentVariables = [
        # Add any ENV vars that should be available to the web side to this array
        # See https://cedarjs.com/docs/environment-variables#web
      ]
    [api]
      port = 8911
    [browser]
      open = true
    [notifications]
      versionUpdates = ["latest"]

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalebug/needs-infoMore information is needed for reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions