github maplibre/maplibre-gl-js v6.0.0-5

pre-releaseone hour ago

✨ Features and improvements

  • ⚠️ Switch to an ESM-only distribution (maplibre-gl.mjs). The UMD bundles (maplibre-gl.js, maplibre-gl-csp.js) are no longer published. The CSP-specific bundle is also dropped: the ESM build loads its worker as a real URL, so worker-src blob: is no longer required. Consumers using <script src=".../maplibre-gl.js"> must switch to <script type="module">, and consumers using import maplibregl from 'maplibre-gl' must switch to import * as maplibregl from 'maplibre-gl' or named imports. See the docs ESM section for migration steps. (#6254) (by @birkskyum)

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.