fix(cli): add viteReact plugin in tanstack start template

This commit is contained in:
Aman Varshney
2025-08-21 14:55:57 +05:30
parent ee971e838c
commit d58fd61575
6 changed files with 92 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
import tailwindcss from "@tailwindcss/vite";
import viteReact from "@vitejs/plugin-react";
export default defineConfig({
plugins: [
tsconfigPaths(),
tailwindcss(),
tanstackStart({ customViteReactPlugin: true }),
viteReact(),
],
});