-
Notifications
You must be signed in to change notification settings - Fork 297
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
Vite 5: The CJS build of Vite's Node API is deprecated #1236
Comments
The CJS API is still supported, it's just deprecated. There's no rush to fix it, but we might as well do it sooner rather than later. |
Can we do a dynamic import of Vite in the async |
Alternative could be for the ESM output to have |
For me, who is a console freak, this is unacceptable.😊 |
For anyone who is bothered by the — rather dramatic — warning that Vite prints to the console, you can squash it by setting the |
Describe the bug
Vanilla extract appears to be using CJS which vite no longer supports
Reproduction
https://codesandbox.io/p/sandbox/eloquent-bird-9dl86m
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: