mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 22:39:40 +02:00
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>
42 lines
1,005 B
TypeScript
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',
|
|
],
|
|
},
|
|
});
|