- SvelteKit SPA mode with adapter-static (index.html fallback) - Tailwind CSS v4 via @tailwindcss/vite with custom color palette - CSS custom properties for dark/light theme (dark is default) - Epilogue variable font with preload - openapi-typescript generates src/lib/api/schema.ts from openapi.yaml - Friendly domain type aliases in src/lib/api/types.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
291 B
JavaScript
13 lines
291 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({ fallback: 'index.html' })
|
|
}
|
|
};
|
|
|
|
export default config;
|