mirror of
https://github.com/andwati/cymelle.git
synced 2026-11-04 07:52:17 +00:00
25 lines
645 B
TypeScript
25 lines
645 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { devtools } from '@tanstack/devtools-vite'
|
|
|
|
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
|
|
import viteReact, { reactCompilerPreset } from '@vitejs/plugin-react'
|
|
import babel from '@rolldown/plugin-babel'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { nitro } from 'nitro/vite'
|
|
|
|
// @ts-ignore
|
|
const config = defineConfig({
|
|
plugins: [
|
|
devtools(),
|
|
nitro({rollupConfig: {external: [/^@sentry\//]}}),
|
|
tailwindcss(),
|
|
tanstackStart(),
|
|
viteReact(),
|
|
babel({presets: [reactCompilerPreset()]}),
|
|
],
|
|
resolve: {tsconfigPaths: true},
|
|
})
|
|
|
|
export default config
|