22 lines
376 B
TypeScript
22 lines
376 B
TypeScript
// app.config.ts
|
|
import { defineConfig } from '@tanstack/react-start/config';
|
|
import tsConfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
tsr: {
|
|
appDirectory: 'src',
|
|
},
|
|
server: {
|
|
prerender: {
|
|
routes: ['/about'],
|
|
},
|
|
},
|
|
vite: {
|
|
plugins: [
|
|
tsConfigPaths({
|
|
projects: ['./tsconfig.json'],
|
|
}),
|
|
],
|
|
},
|
|
});
|