T
TanStack•2mo ago
multiple-amethyst

When building app i get "... set "customViteReactPlugin: true" - where do i do this?

please add the vite-react plugin to your Vite config and set 'customViteReactPlugin: true' TanStack Start will not configure the vite-react plugin in future anymore. This is my vite.config.ts export default defineConfig({ server: { port: 3000, }, optimizeDeps: { exclude: ["@tanstack/react-router-devtools"], }, plugins: [ tsConfigPaths({ projects: ["./tsconfig.json"], }), tanstackStart({ react: { babel: { plugins: [ [ "babel-plugin-react-compiler", { target: "19", }, ], ], }, }, // For building the app for production // target: "cloudflare-module", target: "vercel", }), tailwindcss(), // visualizer({ open: true }), ], resolve: { alias: { "@": path.resolve(import.meta.dirname, "./src"), // https://github.com/tabler/tabler-icons/issues/1233 // /esm/icons/index.mjs only exports the icons statically, so no separate chunks are created // "@tabler/icons-react": "@tabler/icons-react/dist/esm/icons/index.mjs", }, }, })
GitHub
tabler/tabler-icons
A set of over 5800 free MIT-licensed high-quality SVG icons for you to use in your web projects. - tabler/tabler-icons
4 Replies
multiple-amethyst
multiple-amethystOP•2mo ago
Update: I found out it was under tanstackStart.
equal-aqua
equal-aqua•2mo ago
is this solved now?
sensitive-blue
sensitive-blue•2mo ago
GitHub
Start BETA - Tracking · TanStack router · Discussion #2863
Tracking any important changes for TanStack Start during the BETA period. If you are coming from the ALPHA of TanStack Start, you can see all the breaking changes that were made here - #2403
multiple-amethyst
multiple-amethystOP•2mo ago
Yes, i just saw the github discussion regarding the autoconfig of vite 🙂

Did you find this page helpful?