import { tanstackStart } from '@tanstack/react-start/plugin/vite' import { defineConfig } from 'vite' import viteReact from '@vitejs/plugin-react' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ base: '/test/', server: { port: 3000, }, resolve: { tsconfigPaths: true, }, plugins: [ tailwindcss(), tanstackStart({ spa: { enabled: true, prerender: { crawlLinks: true, }, }, sitemap: { host: 'https://localhost:3000', }, prerender: { failOnError: false, }, }), viteReact(), ], })