- vite.config.ts: SvelteKitPWA + themeBridge('paper') mit 3 Shortcuts
(Feed, Lese-Liste, Recherche).
- +layout.svelte: <OfflineBanner /> + <UpdatePrompt /> + <InstallPrompt />,
registerSW via virtual:pwa-register vor dem Session-Refresh-Hook.
- app.html: theme-color #914e30 (paper-Sepia), manifest+apple-touch-icon
Links, viewport-fit=cover.
- app.d.ts: vite-plugin-pwa/client-Reference.
- tsconfig.json: skipLibCheck.
- routes/offline/+page.svelte: Fallback mit Hinweis dass geladene Artikel
+ Lese-Liste im Cache verfügbar bleiben.
- static/: pwa-Icons aus existierendem icon-512.svg generiert.
Build + svelte-check 0 Errors. Live-Browser-Test offen.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 lines
261 B
JSON
13 lines
261 B
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"sourceMap": true,
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true
|
|
}
|
|
}
|