21 lines
431 B
TypeScript
21 lines
431 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import { tanstackRouter } from "@tanstack/router-plugin/vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3001,
|
|
},
|
|
resolve: {
|
|
tsconfigPaths: true,
|
|
},
|
|
plugins: [
|
|
tailwindcss(),
|
|
tanstackRouter({
|
|
target: "react",
|
|
autoCodeSplitting: true,
|
|
}),
|
|
react(),
|
|
],
|
|
});
|