autollama
Version:
Modern JavaScript-first RAG framework with contextual embeddings, professional CLI, and one-command deployment
31 lines (30 loc) • 608 B
text/typescript
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
outDir: 'dist',
assetsDir: 'assets',
sourcemap: false,
rollupOptions: {
output: {
manualChunks: {
vendor: ['react', 'react-dom'],
reactflow: ['reactflow'],
motion: ['framer-motion']
}
}
}
},
server: {
host: '0.0.0.0',
port: 3005,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
}
}
}
})