14 lines
310 B
TypeScript
14 lines
310 B
TypeScript
![]() |
import { defineConfig } from "vite";
|
||
|
import react from "@vitejs/plugin-react-swc";
|
||
|
import {fileURLToPath, URL} from 'node:url'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [react()],
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
"@": fileURLToPath(new URL("./src", import.meta.url))
|
||
|
}
|
||
|
}
|
||
|
});
|