files cant't be seen by LLM, but everything else works.

This commit is contained in:
emil
2026-04-26 22:52:49 +03:00
parent 55d4b7dbba
commit 2307c63bf1
16 changed files with 861 additions and 134 deletions
+7 -3
View File
@@ -2,7 +2,7 @@ import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
export default defineConfig(({ mode }) => ({
plugins: [react()],
resolve: {
alias: {
@@ -13,9 +13,13 @@ export default defineConfig({
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:3001',
target: mode === 'development' ? 'http://localhost:3002' : 'http://backend:3002',
changeOrigin: true,
},
},
},
})
build: {
outDir: 'dist',
sourcemap: mode === 'development',
},
}))