this repo has no description
1import tailwindcss from "@tailwindcss/vite";
2import { defineConfig } from "vite-plus";
3import react from "@vitejs/plugin-react";
4import rsc from "@vitejs/plugin-rsc";
5import { tanstackStart } from "@tanstack/react-start/plugin/vite";
6import netlify from "@netlify/vite-plugin-tanstack-start";
7import { devtools } from "@tanstack/devtools-vite";
8
9export default defineConfig({
10 staged: {
11 "*": "vp check --fix",
12 },
13 resolve: {
14 tsconfigPaths: true,
15 },
16 fmt: {
17 ignorePatterns: ["src/routeTree.gen.ts"],
18 },
19 lint: {
20 ignorePatterns: [".agents/skills/**"],
21 options: { typeAware: true, typeCheck: true },
22 },
23 server: {
24 port: 3000,
25 },
26 plugins: [
27 devtools(),
28 tanstackStart({
29 prerender: {
30 enabled: true,
31 },
32 rsc: {
33 enabled: true,
34 },
35 }),
36 netlify(),
37 rsc(),
38 react(),
39 tailwindcss(),
40 ],
41});