mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 10:49:39 +02:00
- Simplify vite.config.ts files to avoid type incompatibility errors caused by different @types/node versions across the monorepo - Add missing set() method to isSidebarMode store in matrix/web Affected apps: calendar, chat, clock, contacts, manacore, manadeck, matrix, nutriphi, picture, planta, presi, questions, storage, todo Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
447 B
TypeScript
18 lines
447 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vite';
|
|
import { MANACORE_SHARED_PACKAGES } from '@manacore/shared-vite-config';
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss(), sveltekit()],
|
|
server: {
|
|
port: 5175,
|
|
strictPort: true,
|
|
},
|
|
ssr: {
|
|
noExternal: [...MANACORE_SHARED_PACKAGES],
|
|
},
|
|
optimizeDeps: {
|
|
exclude: [...MANACORE_SHARED_PACKAGES],
|
|
},
|
|
});
|