0
0
mirror of https://github.com/sp-tarkov/db-website.git synced 2025-02-08 05:30:45 -05:00
db-website/frontend/vite.config.ts
TheSparta d19412a794 frontend update and rewrite
- Updated to React 18
- Switched from CRA to vite
- reworked some components
- reworked most stores
2024-04-07 22:18:55 +01:00

16 lines
415 B
TypeScript

import path from "node:path";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@src": path.resolve(process.cwd(), "src"),
"@support": path.resolve(process.cwd(), "cypress/support"),
"@fixtures": path.resolve(process.cwd(), "cypress/fixtures")
}
}
});