mirror of
https://github.com/andwati/cymelle.git
synced 2026-10-18 08:22:54 +00:00
22 lines
631 B
TypeScript
22 lines
631 B
TypeScript
import babel from "@rolldown/plugin-babel";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import { devtools } from "@tanstack/devtools-vite";
|
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
import viteReact, { reactCompilerPreset } from "@vitejs/plugin-react";
|
|
import { nitro } from "nitro/vite";
|
|
import { defineConfig } from "vite";
|
|
|
|
const config = defineConfig({
|
|
plugins: [
|
|
devtools(),
|
|
nitro({ rollupConfig: { external: [/^@sentry\//] } }),
|
|
tailwindcss(),
|
|
tanstackStart(),
|
|
viteReact(),
|
|
babel({ presets: [reactCompilerPreset()] }),
|
|
],
|
|
resolve: { tsconfigPaths: true },
|
|
});
|
|
|
|
export default config;
|