I have following config:
import { builtinModules } from 'module'
import { defineConfig } from '@tanstack/start/config'
import tsConfigPaths from 'vite-tsconfig-paths'
export default defineConfig({
vite: {
plugins: [tsConfigPaths({})],
ssr: {
noExternal: ['react-dropzone'],
},
build: {
rollupOptions: {
external: [...builtinModules, /^node:/],
},
},
},
server: {
preset: 'vercel',
esbuild: {
options: {
target: 'esnext',
},
},
},
})
And this settings in Vercel (see screenshot), it successfully builds, but then I see only 404 (see screenshot 2).