Files
demo-ecmascript/svelte.config.js
T
libretechandClaude Opus 4.7 c147843cb5 Add Svelte + Vite port of the logo generator
Svelte 5 (runes) single-component port over the shared src/logo.js
core. $state holds the model, $derived produces the generated CSS and
the logo's style string, $effect syncs the body background. bind:value
drives the controls (range/number inputs coerce to numbers). Keeps the
accessibility markup (labels, aria, <details>/<summary>, focus rings);
reset restores defaults via the form's onreset handler.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 12:25:17 +02:00

6 lines
116 B
JavaScript

import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
export default {
preprocess: vitePreprocess(),
};