Restore *.mdx pattern in evo-marko Storybook configuration#453
Restore *.mdx pattern in evo-marko Storybook configuration#453agliga merged 3 commits intolukes-evo-pass-1from
*.mdx pattern in evo-marko Storybook configuration#453Conversation
|
Co-authored-by: agliga <1755269+agliga@users.noreply.github.com>
*.mdx files in components refactor*.mdx pattern in evo-marko Storybook configuration
|
@copilot can you only restore the |
|
|
||
| export default { | ||
| stories: ["../src/**/*.stories.ts"], | ||
| stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], |
There was a problem hiding this comment.
@copilot we just want .mdx back, none of that other stuff
There was a problem hiding this comment.
This was already addressed in commit 1913ea8. The configuration now only adds *.mdx to the original pattern: ["../src/**/*.mdx", "../src/**/*.stories.ts"]
Co-authored-by: agliga <1755269+agliga@users.noreply.github.com>
Restores MDX file pattern to the Storybook stories configuration that was removed during component refactoring. MDX files are required for Storybook documentation pages.
Changes
packages/evo-marko/.storybook/main.tsstories array from["../src/**/*.stories.ts"]to["../src/**/*.mdx", "../src/**/*.stories.ts"]This ensures MDX documentation files are properly loaded by Storybook while preserving the original TypeScript story file pattern.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.