Cannot find module error with stories: ['../**/*.stories.ts']
#56
Labels
bug
Something isn't working
stories: ['../**/*.stories.ts']
#56
How to reproduce
In
sandboxes/react-18/.storybook/main.ts
, change the following:I tried playing around, and here are some variations
I double checked (just mental sanity check) that the glob is correct:
❯ glob '../**/*.stories.ts' ../src/stories/ReExportButton.stories.ts ../src/stories/Page.stories.ts ../src/stories/Header.stories.ts ../src/stories/Button.stories.ts
It works with
@storybook/react-vite
and@storybook/react-webpack5
Version used
Tested with the current
main
(commit63c89bc4f0fff2a45ba75c2161291f9c6f78b46e
) and released version0.10.0
ofstorybook-builder-rsbuild
.I'm using
pnpm
if that makes a difference tooThe text was updated successfully, but these errors were encountered: