Skip to content

[Bug?]: redwood doesn't recognize storybook config files with ts, tsx extensions. #9118

@bnn1

Description

@bnn1

What's not working?

After I rename storybook config files, for example storybook.preview.js to storybook.preview.ts, storybook reverts back to default preview configuration.

How do we reproduce the bug?

  1. init a ui library, i.e. yarn rw setup ui mantine
  2. rename storybook.preview.js to storybook.preview.tsx
  3. run storybook to see that providers/css files imported in preview file have no effect

What's your environment? (If it applies)

No response

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/confirmedWe have confirmed this is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions