Skip to content
Source
Sign inSign up
TanStack/cli

[Feature] Support Vite 8 and update react compiler scaffold #419

ClosedSiddharthPant(GitHub profile, opens in a new tab) opened this issue 0 comments

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.

Sign in to join this conversation.