An easy-to-host PDS on the ATProtocol, MacOS. Grandma-approved.

fix(MM-143): correct svelte.config.js adapter-static property in CLAUDE.md

All three occurrences of 'out: dist' in apps/identity-wallet/CLAUDE.md have been updated to 'pages: dist' to match the actual adapter-static 3.x API used in svelte.config.js:

- Line 19: Updated in Guarantees section (Build output)
- Line 102: Updated in Key Decisions section
- Line 122: Updated in Key Files section (svelte.config.js entry)

The actual svelte.config.js uses the correct 'pages' property; documentation now matches implementation.

authored by malpercio.dev and committed by

Tangled 2c2a3154 a979e016

+3 -3
+3 -3
apps/identity-wallet/CLAUDE.md
··· 16 16 17 17 **Guarantees:** 18 18 - SSR is disabled globally (`ssr = false` in `src/routes/+layout.ts`); the frontend is a fully static SPA loaded from disk by WKWebView 19 - - Build output lands in `dist/` (configured via `out: 'dist'` in `svelte.config.js`) 19 + - Build output lands in `dist/` (configured via `pages: 'dist'` in `svelte.config.js`) 20 20 - Frontend calls Tauri commands only through `src/lib/ipc.ts` — no raw `invoke()` calls in page components 21 21 22 22 **Expects:** ··· 99 99 ## Key Decisions 100 100 101 101 - **`adapter-static` + `ssr = false`**: Tauri WebViews load files from disk — there is no web server. SSR is meaningless and globally disabled. 102 - - **`out: 'dist'` in svelte.config.js**: Matches `tauri.conf.json`'s `frontendDist: "../dist"`. 102 + - **`pages: 'dist'` in svelte.config.js**: Matches `tauri.conf.json`'s `frontendDist: "../dist"`. 103 103 - **`TAURI_DEV_HOST` for HMR**: Tauri v2 automatically sets this env var to the machine's LAN IP when running `cargo tauri ios dev`. The iOS simulator connects to the Vite dev server over LAN, not localhost. 104 104 - **`generate_context!()` is compile-time**: `tauri.conf.json` must exist when `src-tauri/` is compiled — the macro embeds the config at compile time and will fail to compile if the file is missing. 105 105 - **`src-tauri/gen/` is gitignored**: The Xcode project generated by `cargo tauri ios init` is machine-specific. Committing it causes merge conflicts and bloats the repo. ··· 119 119 - `src-tauri/src/main.rs` — Desktop entry point (calls `lib::run()`) 120 120 - `src/lib/ipc.ts` — Typed TypeScript wrappers for all Tauri IPC commands 121 121 - `src/routes/+layout.ts` — `ssr = false; prerender = false` (global SPA config) 122 - - `svelte.config.js` — adapter-static with `out: 'dist'` (SPA mode, matches tauri.conf.json) 122 + - `svelte.config.js` — adapter-static with `pages: 'dist'` (SPA mode, matches tauri.conf.json) 123 123 - `vite.config.ts` — Tauri-compatible Vite server (clearScreen, HMR via TAURI_DEV_HOST, envPrefix)