-
-
Notifications
You must be signed in to change notification settings - Fork 159
[Feature] Support Vite 8 and update react compiler scaffold #419
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Which project does this relate to?
Create Tanstack App
Describe the feature
Vite 8 has been released and since its using rolldown under the hood, the config for react-compiler has been changed. It now requires a rolldown plugin. So instead of supplying babel preset to viteReact you will supply preset to rolldown plugin. All these changes are documented in this link shared in Vite 8 official docs: https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%406.0.0
Additional context
This also affects vite-plus compatibility since its starter vp create tries to replace vite with latest v8 and results in a broken starter template.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request