managarten/apps/clock/apps/web/vite.config.ts
Till-JS 9936a12fdd fix(clock-web): add missing SvelteKit config files
These essential files were never committed:
- svelte.config.js
- vite.config.ts
- tsconfig.json
- src/app.html

Without these, SvelteKit cannot build the app.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 00:24:03 +01:00

34 lines
792 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
port: 5187,
strictPort: true,
},
ssr: {
noExternal: [
'@manacore/shared-theme',
'@manacore/shared-auth-ui',
'@manacore/shared-branding',
'@manacore/shared-ui',
'@manacore/shared-theme-ui',
'@manacore/shared-feedback-types',
'@manacore/shared-feedback-service',
'@manacore/shared-feedback-ui',
],
},
optimizeDeps: {
exclude: [
'@manacore/shared-theme',
'@manacore/shared-auth-ui',
'@manacore/shared-branding',
'@manacore/shared-ui',
'@manacore/shared-theme-ui',
'@manacore/shared-feedback-types',
'@manacore/shared-feedback-service',
'@manacore/shared-feedback-ui',
],
},
});