This repository has been archived on 2026-01-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2025-07-04 19:11:47 +03:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
|
import viteReact from "@vitejs/plugin-react";
|
|
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
2025-07-03 14:01:40 +03:00
|
|
|
|
2025-07-04 19:11:47 +03:00
|
|
|
import { TanStackRouterVite } from "@tanstack/router-plugin/vite";
|
|
|
|
|
import { resolve } from "node:path";
|
2025-07-03 14:01:40 +03:00
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
|
export default defineConfig({
|
2025-07-04 19:11:47 +03:00
|
|
|
plugins: [TanStackRouterVite({ autoCodeSplitting: true }), viteReact(), tailwindcss()],
|
|
|
|
|
test: {
|
|
|
|
|
globals: true,
|
|
|
|
|
environment: "jsdom",
|
2025-07-03 14:01:40 +03:00
|
|
|
},
|
2025-07-04 19:11:47 +03:00
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
|
|
|
|
"@": resolve(__dirname, "./src"),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|