-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Seeing warning about CJS even though my project is ESM #28661
Labels
Comments
Sorry, that doesn't help. If I add that snippet to my config, I get the same warnings. I'm also using the latest version of |
Closing this as dupe to #26291 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
We have a large ESM project that has been using Storybook for a while. I'm currently upgrading from Storybook 7 to 8 and I'm seeing this warning:
I'm not sure why it's appearing, because we're fully ESM. Running our Vite dev server does not show this warning; it's happening with Storybook only.
If I try to trace the warning via Vite's suggestion, I get this:
Reproduction link
N/A
Reproduction steps
System
Additional context
No response
The text was updated successfully, but these errors were encountered: