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
With the latest Vite 5 beta (beta.3), we are getting a warning logged to the terminal when starting up storybook:
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
I guess they're going to force us to start using their ESM build, and we should probably do it sooner than later, to avoid users reporting this warning.
Hi, out of curiosity, will this change be included in version 8? given it seems support for Vite 5 will be dealt with in that release? #25115
If so is there a rough timescale?
Vite 5 is fully supported in Storybook 7, though in some cases we are using the Vite CJS APIs. They continue to work just fine. We will be sure to remove usage of them in Storybook 8 so that when they are removed in Vite 6 or above, Storybook continues to work without a problem.
Describe the bug
With the latest Vite 5 beta (beta.3), we are getting a warning logged to the terminal when starting up storybook:
I guess they're going to force us to start using their ESM build, and we should probably do it sooner than later, to avoid users reporting this warning.
To Reproduce
https://stackblitz.com/edit/github-wgldvd?file=package.json
System
Additional context
No response
The text was updated successfully, but these errors were encountered: