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

fix: use ESM by default in new installations #479

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

ElMassimo
Copy link
Owner

Description 📖

This pull request closes #431, by using ESM by default in new installations, and automatically creating vite.config.mts (instead of vite.config.ts) when installing Vite Ruby in a CJS project.

Also linked to Vite's troubleshooting guide in case users run into this while upgrading an older project.

Background 📜

These changes were discussed in:

@ElMassimo ElMassimo merged commit cc379ca into main Jul 16, 2024
17 checks passed
@ElMassimo ElMassimo deleted the improve-installation-ux branch July 16, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"The CJS build of Vite's Node API is deprecated."
1 participant