Closed ArnaudBarre closed 1 year ago
I haven't looked into whether this is an issue with the way Storybook is rendering MDX or this plugin itself.
I think this would work because mdx output runnable JS but fast refresh will not work
Yeah it was indeed a bug in Storybook, that should be fixed in https://github.com/storybookjs/builder-vite/pull/556. I've tested it in our examples, and it works fine. fast-refresh might not work, but the reload is nice and fast.
Re: https://github.com/storybookjs/builder-vite/pull/552