Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Vite builder for storybook #155

Open
eric-burel opened this issue Mar 23, 2022 · 1 comment
Open

Switch to Vite builder for storybook #155

eric-burel opened this issue Mar 23, 2022 · 1 comment
Labels
enhancement New feature or request storybook

Comments

@eric-burel
Copy link
Collaborator

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 eric-burel added storybook enhancement New feature or request labels Mar 23, 2022
@eric-burel
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request storybook
Projects
None yet
Development

No branches or pull requests

1 participant