chromaui / chromatic-e2e

Archive end-to-end tests to be replayed in Storybook and Chromatic
MIT License
21 stars 4 forks source link

Vite #148

Open mgibas opened 4 months ago

mgibas commented 4 months ago

Is your feature request related to a problem? Please describe. Visual testing forces us to depend on Webpack massive dependency graph even though we’re using Vite for everything else. In addition Webpack build is much slower.

Describe the solution you'd like Align visual testing with rest of the storybook ecosystem and let user use either "@storybook/builder-vite" or "@storybook/builder-webpack".

Describe alternatives you've considered N/A

chmmpagne commented 1 month ago

Is your workaround to add an additional Webpack configuration? Currently our yarn build-archive-storybook generates a build with an undefined viewport error for all stories.