react-demo/vite.config.js
2024-03-10 19:14:25 +08:00

14 lines
270 B
JavaScript

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