15 lines
339 B
TypeScript
15 lines
339 B
TypeScript
import path from "path";
|
|
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react-swc";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@ui": path.resolve(__dirname, "./src/components/ui"),
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|