#all of my MDX files throw "indexer.createIndex is not a function" after SB7 upgrade

5 messages · Page 1 of 1 (latest)

kind marlin
#

I've renamed one of my stories to 'introduction.stories.migrated.mdx' with the exact same content and it has rendered successfuly without issues

#

but something that's named 'introduction.stories.mdx' will throw that createIndex error right away

#

the path matcher I'm using:

stories: [
'../src/introduction.stories.migrated.@(mdx)',

#

I've been stuck on this issue for 2+ days now 😦

flat linden
#

this is a newish topic for me, so i'll be learning along with you.

to make sure i'm on the same page, have you come across this doc yet and did any portion of it prove helpful or unhelpful? https://storybook.js.org/docs/react/api/main-config-indexers

Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documentation. It’s open source and free.