import { tanstackStart } from '@tanstack/react-start/plugin/vite' import { defineConfig } from 'vite' import tsConfigPaths from 'vite-tsconfig-paths' export default defineConfig({ server: { port: 3000, }, plugins: [ tsConfigPaths({ projects: ['./tsconfig.json'], }), tanstackStart({ spa: { enabled: true, prerender: { crawlLinks: true, }, }, sitemap: { host: 'https://localhost:3000', }, prerender: { failOnError: false, }, }), ], })