chore: upgrade SvelteKit 2 + Svelte 5 (mode compat) + nettoyage packaging
- svelte 5.56, kit 2.70, adapter-static 3, vite 6, svelte-check 4, TS 5.9 - Syntaxe legacy conservée (on:click, $:, export let) — compile en mode compat - Load RSS : +page.ts → +page.server.ts (XML de 10,9 Mo hors du HTML, page podcast 11,9 Mo → 1,5 Mo ; règle au passage le CORS en navigation client) - package.json : renommé oki-podcast-reader, champs de librairie retirés, deps mortes supprimées (changesets, publint, highlights, meta-tags) - check 0/0, build vert, radio Funkwhale et flux Syntax.fm fonctionnels
This commit is contained in:
+3
-4
@@ -1,14 +1,13 @@
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
import preprocess from 'svelte-preprocess';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
extensions: ['.svelte'],
|
||||
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// Consult https://svelte.dev/docs/kit/integrations
|
||||
// for more information about preprocessors
|
||||
preprocess: [vitePreprocess(), preprocess({ postcss: true })],
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
|
||||
Reference in New Issue
Block a user