1.6 KiB
TypeScript migration baseline
This baseline records the browser architecture at the start of the migration. It is intentionally historical; generated output sizes are tracked separately by the deterministic frontend build.
Startup order
The initial document loads these scripts in order:
/vendor/opus-decoder-0.7.11.min.js/vendor/leaflet.js/leaflet-ais-tracksymbol.js/webgl-renderer.js/ui-core.js/app.js
Decoder and feature scripts are then loaded lazily by the inline loader in
index.html. The frontend smoke test locks the core ordering and rejects
remote script or stylesheet URLs.
Source measurements
At baseline, first-party JavaScript comprised 23 files and approximately 776 KiB. The largest sources were:
| Source | Bytes |
|---|---|
app.js |
337,111 |
map-core.js |
131,899 |
plugins/scheduler.js |
60,883 |
plugins/bookmarks.js |
30,543 |
plugins/sat.js |
22,541 |
plugins/vchan.js |
20,195 |
webgl-renderer.js |
18,993 |
The migrated source snapshot contained 123 distinct direct window.*
assignments. These are compatibility callbacks, shared state, and plugin entry
points. New TypeScript code must not add to that set; the typed plugin registry
and explicit services replace it over the course of the migration.
All production scripts, stylesheets, fonts, icons, and map assets were already served from local embedded routes. The automated startup test ensures no remote runtime script or stylesheet dependency is introduced.