mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-07-22 16:31:19 +00:00
20 lines
420 B
TypeScript
20 lines
420 B
TypeScript
import { defineConfig } from 'vite'
|
|
import path from 'path'
|
|
|
|
import react from '@vitejs/plugin-react-swc'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src')
|
|
}
|
|
},
|
|
base: './',
|
|
build: {
|
|
outDir: path.resolve(__dirname, '../lightrag/api/webui')
|
|
}
|
|
})
|