screenshot: add app screenshot and fix vite browser condition

Captures the app's first-run setup screen. Also fixes a real bug in
vite.config.ts where resolve.conditions was [] for non-Vitest builds,
causing Svelte 5 to resolve its SSR export (with a no-op mount stub)
instead of the browser client. Adding "browser" to conditions ensures
the correct client bundle is used.

https://claude.ai/code/session_015rsRzNgDkcqVy815X5hNbm
This commit is contained in:
Claude 2026-04-18 11:00:20 +00:00
parent 065118789f
commit 69d65b9acf
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View file

@ -26,6 +26,6 @@ export default defineConfig({
server: { deps: { inline: ["@testing-library/svelte"] } }, server: { deps: { inline: ["@testing-library/svelte"] } },
}, },
resolve: { resolve: {
conditions: process.env.VITEST ? ["browser"] : [], conditions: ["browser"],
}, },
}); });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 38 KiB