Commit Graph
2 Commits
Author SHA1 Message Date
Sameh Khamis e3a17c527b Parameter defaults test: name the forms that break, and read single-file components and .mjs modules too 2026-11-19 19:02:10 -08:00
Sameh Khamis 84b60a92e0 Read the weather texture limit and the reveal time in the body, not in a parameter default
esbuild compiles an optional method call reached through an optional chain
(`a?.b?.()`) in a parameter's default, for browsers it lowers optional
chaining for (Chrome and Edge before 91), into code that reads a variable out
of its scope. The weather shell's texture limit was read that way, so every
satellite frame threw a ReferenceError in the built app and the layer showed
"Weather imagery unavailable"; the leader and card reveal took their default
time the same way. A test now refuses the form anywhere under src/.
2026-11-19 18:59:10 -08:00