Closed eric-burel closed 4 years ago
In .storybook/main.js:
// add mdx support // @see https://mdxjs.com/getting-started/webpack withVulcan.module.rules.push({ test: /\.mdx?$/, use: ["babel-loader", "@mdx-js/loader"], }); // Bypass interference with Storybook doc, which already set a conflicting rule for .md import // @see https://github.com/storybookjs/storybook/issues/7644#issuecomment-592536159 withVulcan.module.rules = [ ...withVulcan.module.rules.filter( (rule) => rule.test.source !== "\\.md$" ), ];
This seems to raise issues with Storybook Addon Docs MDX support.
See "src/components/ui/stories/0_mdx-example.stories.mdx", the story is never loaded.
Seems fix
In .storybook/main.js:
This seems to raise issues with Storybook Addon Docs MDX support.
See "src/components/ui/stories/0_mdx-example.stories.mdx", the story is never loaded.