Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: storybook compatibility, plugins can now add entrypoints (#488)
* Allow rollupOptions set by other plugins to be respected Storybook (builder-vite) adds an `iframe.html` entry into the `rollupOptions` when building a static build. I found that `vite-plugin-ruby` is overriding these options meaning that the Storybook build fails. Here I am allowing any existing rollup options + inputs to be spread into the config before the plugin returns it. * refactor: avoid function --------- Co-authored-by: Maximo Mussini <maximomussini@gmail.com>
- Loading branch information