Open History to see the last commit
1import { defineConfig } from 'vite'
2import { tanstackStart } from '@tanstack/react-start/plugin/vite'
3import viteReact from '@vitejs/plugin-react'
4import { nitro } from 'nitro/vite'
5β
6export default defineConfig({
7 resolve: { tsconfigPaths: true },
8 server: {
9 port: 3000,
10 },
11 plugins: [
12 nitro(),
13 tanstackStart({
14 prerender: {
15 enabled: true,
16 crawlLinks: false,
17 },
18 }),
19 viteReact(),
20 ],
21})