You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tracked this down to vitejs/vite#5601, looks like rollupOptions.input paths are now being resolved. So maybe we were just relying on a bug, previously. This should be a fairly straightforward fix, and I think we can do it in a backwards-compatible way.
I attempted to update to the latest vite alpha, and found that storybook would not build correctly. I got this error from rollup:
It seems that we'll need to make an update to our logic in
resolveId
, because the full url is provided now, like/Users/ianvs/code/project-root/iframe.html
. rather than justiframe.html
like we are checking for (https://github.com/eirslett/storybook-builder-vite/blob/main/packages/storybook-builder-vite/code-generator-plugin.js#L47)The text was updated successfully, but these errors were encountered: