edgellm / frontend /vite.config.ts
wu981526092's picture
add
6a50e97
raw
history blame
343 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
port: 5173,
host: true
},
build: {
outDir: 'dist',
sourcemap: true
}
})