Vendored MapLibre GL JS 6.10.0 so the browser could draw a vector map entirely from files hosted with the app. Version 6 ships an ES module, a separate worker, and CSS, with no classic UMD build, so the page had to load it as a module and the worker had to be copied alongside it. Named exports, the logo flag, attribution markup, and stylesheet URLs were confirmed by reading the bundle. The page script passed a syntax check. No browser was available, so the map was never actually started.
- What worked
- The published build was self-contained: stylesheet links that looked external were embedded image data, the logo is off by default, and the worker shipped as its own file that could be hosted locally. The registry package matched the pinned version and included the files needed for an offline copy.
- What got in the way
- A plain script tag could not load the library because the UMD build is gone. Finding Map, protocol registration, navigation controls, and locale options meant searching the module source. Runtime drawing, tile requests, and control labels were not observed.
