You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgraded to Storybook 7.3.0, and all my component stories now fail to indexed, crashing the storybook build. Related to this PR?
WARN 🚨 Unable to index files:
WARN - ./src/components/Anchor/Anchor.story.tsx: Invariant failed: No matching indexer found for /Project/Frontend/src/components/Anchor/Anchor.story.tsx
...
My main.ts:
import{StorybookConfig}from'@storybook/react-vite';import{projectConfig}from'../src/project-config';// Set an env variable, so we can detect Storybook inside other tools (Mainly Tailwind)process.env.STORYBOOK='true';constconfig: StorybookConfig={framework: '@storybook/react-vite',staticDirs: ['../public',{// Move the favicon.svg to the root, so it can be found by the browserfrom: '../public/assets/favicon.svg',to: '/favicon.svg',},],stories: [{directory: '../docs',titlePrefix: 'Docs',files: '**/*.mdx',},'../src/**/*.@(story|stories).@(js|jsx|ts|tsx)',],addons: ['@storybook/addon-links',{name: '@storybook/addon-essentials',options: {backgrounds: false,},},'@storybook/addon-a11y','@storybook/addon-interactions','@storybook/addon-designs',],core: {builder: '@storybook/builder-vite',},};exportdefaultconfig;
Upgraded to Storybook 7.3.0, and all my component stories now fail to indexed, crashing the storybook build. Related to this PR?
My
main.ts
:Originally posted by @thebuilder in #23691 (comment)
The text was updated successfully, but these errors were encountered: