Files
tern-web/vite.config.ts
T
Mateusz PstruchaandClaude Opus 5 1145e31af6 Initial webapp scaffold
Vite + Svelte 5 + TypeScript with no other runtime dependencies, per the
client spec's speed-and-simplicity priority. Wires up the decided palette
with light/dark/system switching, a two-pane desktop shell, and a thin
API client against the sync server.

Deliberately no PWA/service worker, matching the spec's scope cut.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 19:01:07 +02:00

13 lines
311 B
TypeScript

import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
export default defineConfig({
plugins: [svelte()],
server: {
proxy: {
// Points at tern-server's default dev bind address (see server/.env.example).
'/api': 'http://127.0.0.1:8080',
},
},
});