Skip to content
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

The CJS build of Vite's Node API is deprecated; use the ES format instead #989

Closed
vonWolfehaus opened this issue Feb 15, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@vonWolfehaus
Copy link

Is your feature request related to a problem? Please describe.
The CJS build of Vite's Node API is deprecated and will be removed in Vite 6. See here for details: https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated

Describe the solution you'd like
Use the ES build instead.

Describe alternatives you've considered
n/a

Additional context
Run yarn dev to see the build warning.

@vonWolfehaus vonWolfehaus added the enhancement New feature or request label Feb 15, 2024
@cawa-93 cawa-93 closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants