WhiteNightsAdminPanel/vite.config.ts
Alexander Lazarenko cf2a116ecb
All checks were successful
release-tag / release-image (push) Successful in 2m17s
Latest version (#12)
Co-authored-by: itoshi <kkzemeow@gmail.com>
Co-authored-by: Spynder <19329095+Spynder@users.noreply.github.com>
Reviewed-on: #12
Co-authored-by: Alexander Lazarenko <kerblif@unprism.ru>
Co-committed-by: Alexander Lazarenko <kerblif@unprism.ru>
2025-05-29 10:12:00 +00:00

19 lines
595 B
TypeScript

import { defineConfig } from "vite";
import * as path from "path";
import svgr from "vite-plugin-svgr";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [svgr(), react()],
resolve: {
alias: {
"@ui": path.resolve(__dirname, "./src/components/ui"),
"@stores": path.resolve(__dirname, "./src/store"),
"@providers": path.resolve(__dirname, "./src/providers"),
"@lib": path.resolve(__dirname, "./src/lib"),
"@components": path.resolve(__dirname, "./src/components"),
"@": path.resolve(__dirname, "./src/"),
},
},
});