Files
monitor-im-flur/vite.config.ts
Arif Hasanic 6559a06acc
All checks were successful
CI / build (push) Successful in 14s
CI / lint (push) Successful in 8s
CI / build-and-push-docker (push) Successful in 17s
fix code style
2025-08-30 23:49:17 +02:00

20 lines
704 B
TypeScript

import path from "node:path";
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
import mkcert from "vite-plugin-mkcert";
export default defineConfig({
plugins: [react(), mkcert()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
"@components": path.resolve(__dirname, "src/components"),
"@store": path.resolve(__dirname, "src/store"),
"@api": path.resolve(__dirname, "src/api"),
"@types": path.resolve(__dirname, "src/types"),
"@thunks": path.resolve(__dirname, "src/store/thunks"),
"@slices": path.resolve(__dirname, "src/store/slices"),
},
},
});