aprs.me/assets
Graham McIntire b218f21734
Some checks are pending
Elixir CI / Build and test (push) Waiting to run
Elixir CI / Dialyzer (push) Waiting to run
Elixir CI / Build and Push Docker Image (push) Blocked by required conditions
fix: resolve Leaflet window.L not being set in esbuild bundle
The esbuild bundle wraps everything in a 'use strict' IIFE, causing the
leaflet UMD module to take the CommonJS path instead of setting
window.leaflet. The entry point check window.leaflet && !window.L always
failed, so window.L was never assigned and the map never initialized.

- Add leaflet-global.js to import leaflet-minimal and set window.L before
  plugins execute (ESM source-order evaluation guarantees this)
- Replace the broken window.leaflet check in map-bundle-entry.js with an
  import of leaflet-global.js
2026-08-02 13:44:11 -05:00
..
css Format JSON examples with proper indentation and syntax highlighting 2026-06-04 16:53:22 -05:00
js fix: resolve Leaflet window.L not being set in esbuild bundle 2026-08-02 13:44:11 -05:00
vendor vendor heroicons SVGs, remove GitHub dependency 2026-03-03 13:34:23 -06:00