Files
OSIT-AE-App-Svelte/package-lock.json
Scott Idem 3bc93857dd fix(build): replace optional TypeScript params to fix SSR build
esbuild strips ': Type' from 'param?: Type' but leaves 'param?' in the
output, which is invalid JavaScript and causes Rollup to fail during the
Vite SSR build. Changed all 5 occurrences across source files from
'param?: Type' to 'param: Type | undefined = undefined', preserving the
same optional semantics while producing valid JavaScript after stripping.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 18:56:51 -04:00

315 KiB