chore(web): 🔧 Update Vite build configuration for performance and plugin compatibility

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-09 23:13:33 -07:00
parent d567559e1e
commit 072d148206

View file

@ -39,6 +39,7 @@ export default defineConfig({
'@emotion/is-prop-valid',
'shallowequal',
'stylis',
'cookie',
],
},
server: {
@ -51,6 +52,11 @@ export default defineConfig({
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},
'/ai-api': {
target: 'http://localhost:3790',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/ai-api/, ''),
},
'/socket.io': {
target: 'http://localhost:3850',
changeOrigin: true,