mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 09:46:42 +02:00
- Add port 5180 to CORS_ORIGINS in .env.development - Add port 5178 to Presi backend CORS config - Fix Presi API client to use /api prefix - Add strictPort: true to all web app vite configs to prevent port switching: - manacore: 5173 - chat: 5174 - picture: 5175 - manadeck: 5176 - zitare: 5177 - presi: 5178 - voxel-lava: 5180 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
622 B
TypeScript
30 lines
622 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit()],
|
|
server: {
|
|
port: 5176,
|
|
strictPort: true,
|
|
},
|
|
ssr: {
|
|
noExternal: [
|
|
'@manacore/shared-theme',
|
|
'@manacore/shared-auth-ui',
|
|
'@manacore/shared-branding',
|
|
'@manacore/shared-ui',
|
|
'@manacore/shared-theme-ui',
|
|
'@manacore/shared-i18n',
|
|
],
|
|
},
|
|
optimizeDeps: {
|
|
exclude: [
|
|
'@manacore/shared-theme',
|
|
'@manacore/shared-auth-ui',
|
|
'@manacore/shared-branding',
|
|
'@manacore/shared-ui',
|
|
'@manacore/shared-theme-ui',
|
|
'@manacore/shared-i18n',
|
|
],
|
|
},
|
|
});
|