15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
import react from '@vitejs/plugin-react-swc'
|
|
import { nitro } from 'nitro/vite'
|
|
import { defineConfig } from 'vite'
|
|
import tsConfigPaths from 'vite-tsconfig-paths'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tsConfigPaths(),
|
|
nitro({ preset: 'bun', devServer: { port: 5173 } }),
|
|
tanstackStart(),
|
|
react()
|
|
]
|
|
})
|