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>
13 lines
311 B
TypeScript
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',
|
|
},
|
|
},
|
|
});
|