Glob matching not working in Storybook config?

Viewed 1042

I have this in my main.js:

stories: ['../src/components/**/*'],

But it simply won't load. The UI says "no stories found" in so many words.

If I change it to this, it works:

stories: ['../src/components/MySpecificComponent/.stories/*'],

But of course it only loads the stories for that specific component. I cannot imagine what the issue is here.

0 Answers
Related