|
import { defineConfig } from "vite"
|
|
import { join } from "path"
|
|
import react from "@vitejs/plugin-react-swc"
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
base: "./",
|
|
resolve: {
|
|
alias: {
|
|
"@": join(__dirname, "src"),
|
|
},
|
|
},
|
|
plugins: [react()],
|
|
})
|
|
|