vulcan-next icon indicating copy to clipboard operation
vulcan-next copied to clipboard

Switch to Vite builder for storybook

Open eric-burel opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. https://github.com/eirslett/storybook-builder-vite

From IanVS on Storybook Discord: 'It builds the preview pane in vite, at least, and although the storybook ui is still built with webpack, they are working on pre-bundling it so you don't need to use webpack at all.'

Describe alternatives you've considered In response to "Ladle" project: https://www.ladle.dev/ which is basically Storybook with a faster bundler and a few tweaks, we could try to use the Vite builder for storybook for a much faster build.

I'd rather enjoy Storybook rich ecosystem.

Additional context Not sure about the Webpack compatibility, Next still use Webpack at the time of writing.

eric-burel avatar Mar 23 '22 12:03 eric-burel

First experiment with Remix show that this should be trivial, testing-react works ok as well

eric-burel avatar Jul 21 '22 18:07 eric-burel