managarten/apps-archived/presi/apps/web/vite.config.ts
Till-JS 44897ae758 chore: archive inventory, presi, storage apps
Move these apps to apps-archived/ as they are not actively developed:
- inventory: Inventory management app
- presi: Presentation tool
- storage: Cloud storage app

These can be reactivated by moving back to apps/ when needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:22:38 +01:00

42 lines
1,005 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import path from 'path';
export default defineConfig({
plugins: [sveltekit()],
server: {
port: 5178,
strictPort: true,
fs: {
allow: [
// Allow serving files from the monorepo root node_modules
path.resolve(__dirname, '../../../../node_modules'),
// Default allowed paths
path.resolve(__dirname, 'src'),
path.resolve(__dirname, '.svelte-kit'),
path.resolve(__dirname, 'node_modules'),
path.resolve(__dirname, '../../node_modules'),
],
},
},
ssr: {
noExternal: [
'@manacore/shared-icons',
'@manacore/shared-ui',
'@manacore/shared-theme',
'@manacore/shared-theme-ui',
'@manacore/shared-auth-ui',
'@manacore/shared-branding',
],
},
optimizeDeps: {
exclude: [
'@manacore/shared-icons',
'@manacore/shared-ui',
'@manacore/shared-theme',
'@manacore/shared-theme-ui',
'@manacore/shared-auth-ui',
'@manacore/shared-branding',
],
},
});