# MapLibre v6 Migration

> Upgrade MapLibre GL JS v5 → v6

**Subcategory:** MapLibre  
**License:** MIT  
**Source:** https://github.com/maplibre/maplibre-agent-skills/blob/fa618af49728952f7aeca842ad93f51b9b530018/skills/maplibre-v6-migration/SKILL.md

---

## When it is useful

Upgrading a MapLibre GL JS app from v5 to v6 — ESM-only build, removed default export, CommonJS require() breakage, styleimagemissing / setMissingStyleImageResolver changes, removed map.transform.

## The Catch

Skills MIT (LICENSE.md); MapLibre GL JS is BSD-3-Clause. Free, no account, no token — but MapLibre only renders: you bring the tiles (self-hosted PMTiles on static storage, or a third-party tile host with its own caps and pricing). Young repo; only verified skills are listed. Version-pinned: useful exactly once per app; not Mapbox→MapLibre migration.
