"jsxImportSource": "@builder.io/mitosis" doesn't work with latest vite & @vitejs/plugin-react #1707
Open
1 of 12 tasks
Labels
bug
Something isn't working
I am interested in helping provide a fix!
Yes
Which generators are impacted?
Reproduction case
https://stackblitz.com/edit/stackblitz-starters-t21f7m4c?file=test%2Ftest-apps%2Freact%2Fpackage.json
Expected Behaviour
When running
npm create @builder.io/mitosis@latest
with the default setup and not changing anything besides upgradingtest-apps/react
Vite and React to latest versions, it should still work.Actual Behaviour
Additional Information
Likely the same happens for other frameworks when upgrading to Vite 6.
How to reproduce
cd test && npm i && npm -w @test/library run build
npm -w @test/server-react run dev
The text was updated successfully, but these errors were encountered: