I think someone might have posted a migration guide from tanstack start beta to RC but I can't find it anymore. I would appreciate if anyone could point me in that direction.
I'm running into some issues like this.
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { defineConfig } from 'vite'
import tsConfigPaths from 'vite-tsconfig-paths'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
import babel from 'vite-plugin-babel'
export default defineConfig({
server: {
port: 3000,
},
plugins: [
tailwindcss(),
tsConfigPaths({
projects: ['./tsconfig.json'],
}),
tanstackStart({
customViteReactPlugin: true,
react: {
babel: {
plugins: ['babel-plugin-react-compiler'],
},
},
target: 'vercel',
}),
react(),
],
})
That worked on the beta
[{
"resource": "/home/remus/Programming Content/memorylink-reborn/vite.config.ts",
"owner": "typescript",
"code": "2353",
"severity": 8,
"message": "Object literal may only specify known properties, and 'customViteReactPlugin' does not exist in type '{ client?: { base?: string | undefined; entry?: string | undefined; } | undefined; server?: { entry?: string | undefined; } | undefined; spa?: { enabled?: boolean | undefined; prerender?: { ...; } | undefined; maskPath?: string | undefined; } | undefined; ... 7 more ...; vite?: { ...; } | undefined; }'.",
"source": "ts",
"startLineNumber": 18,
"startColumn": 7,
"endLineNumber": 18,
"endColumn": 28,
"modelVersionId": 25
}]