mirror of
https://github.com/sp-tarkov/db-website.git
synced 2025-02-08 05:10:46 -05:00
- Updated to React 18 - Switched from CRA to vite - reworked some components - reworked most stores
16 lines
415 B
TypeScript
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")
|
|
}
|
|
}
|
|
});
|