Closed IanVS closed 1 year ago
Thanks Ian! Reproduction:
// main.js
export const stories = ['./Introduction.stories.mdx', '../src/App.stories.tsx']
export const framework = '@storybook/react-webpack5'
Cause: https://github.com/storybookjs/storybook/blob/next/code/lib/csf-tools/src/ConfigFile.ts#L280
Yowza!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.53 containing PR #21190 that references this issue. Upgrade today to the @next
NPM tag to try it out!
npx sb@next upgrade --prerelease
Describe the bug
I upgraded my project to beta.48, and allowed the
bare-mdx-stories-glob
to run.To Reproduce
I don't have time to confirm the reproduction steps, but I have a
main.ts
with :Running the migration did not replace the original stories, it created a second stories export.
System
Additional context
Migration log