mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
Webpack builder is very slow and hard to use becaause of it. It gave us a lot of issues recently. So here I migrated to vite builder. The experience is great. It caught a bug in shallow-equal package, though fixed in latest release. There was one issue with reload. When modify packages and rebuild storybook watcher detects a lot of changes and goes into infinite loop. Solved by importing packages sources directly with export conditions vite allows to configure. Now any changes in packages can be reflected in builder storybook without manual reload, restart and additional watching. We would get much better experience with remix if they allow to configure this. Also had to remove @storybook/addon-interactions which are incompatible with vite builder.