20 lines
546 B
TypeScript
20 lines
546 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { devtools } from '@tanstack/devtools-vite'
|
|
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
import viteReact from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { nitro } from 'nitro/vite'
|
|
|
|
const config = defineConfig({
|
|
resolve: { tsconfigPaths: true },
|
|
server: { port: 4174 },
|
|
plugins: [
|
|
devtools(),
|
|
nitro({ rollupConfig: { external: [/^@sentry\//] } }),
|
|
tailwindcss(),
|
|
tanstackStart(),
|
|
viteReact(),
|
|
],
|
|
})
|
|
|
|
export default config
|