Skip to content

Storybook uses Vite for building and webpack for development #562

Answered by IanVS
Kapelianovych asked this question in Q&A
Discussion options

You must be logged in to vote

In storybook 6.5, webpack is used to build the Storybook "manager" UI (the sidebar and panels), even when Vite is used to build your components themselves. This is changed in 7.0, which does not use Webpack at all if you choose a vite framework. (It also automatically uses your vite.config file, so you don't need the viteFinal unless you have special config just for Storybook).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kapelianovych
Comment options

Answer selected by Kapelianovych
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants