The package @storybook/storybook-deployer that seems to not directly work with Storybook 7 was expecting that command named "build-storybook" to exist. With the bin updates of Storybook 7 this bin does not longer exist, so I created a specfic script inside package.json that is named "build-storybook" too in order to make everything work. Also now that Storybook uses directly the local vite config, the fact that our config generates types was causing issues when building Storybook, that why we filter plugins in main.ts in order to remove "vite:dts".
3.3 KiB
3.3 KiB