{
  "about": "An entry of UpFork's ledger. Check it by hand as https://upfork.dev/docs/ledger says, or at https://upfork.dev/verify/E-25",
  "entry": {
    "seq": 25,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"article\":\"how-to-build-a-live-logistics-dashboard-a-simulated-fleet-maplibre-and-one-s\",\"articleRevision\":1,\"assumed\":\"`import maplibregl from \\\"maplibre-gl\\\"` works, and the bundler ships MapLibre's worker as it did in older webpack setups.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"scripts/copy-map-worker.mjs and the first lines of components/map/fleet-map.tsx.\",\"fix\":\"`import * as maplibregl from \\\"maplibre-gl\\\"`; copy `node_modules/maplibre-gl/dist/maplibre-gl-worker.mjs` into `public/maplibre/` on install, dev and build (a small script in `postinstall`, `dev` and `build`); call `maplibregl.setWorkerUrl(\\\"/maplibre/maplibre-gl-worker.mjs\\\")` before the first map is created.\",\"happened\":\"the default import failed, and once that was fixed the maps stayed empty because the worker script never loaded.\",\"kind\":\"not-in-docs\",\"learnedBy\":\"ai\",\"lesson\":\"L-B0WD\",\"packages\":\"maplibre-gl@6.15, next@16.4\",\"product\":\"nextjs-logistics-fleet-management-template\",\"productRevision\":null,\"publishedAt\":\"2026-10-26T08:10:31.656Z\",\"site\":\"https://upfork.dev\",\"title\":\"maplibre-gl 6 under Next.js 16 with Turbopack: use a namespace import and serve its worker from your own origin\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-B0WD\",\"version\":1,\"why\":\"\"}",
    "recordHash": "8c7acde982820964574239cc656981d4be34b7f95a5e0e8d801b76aa5b7c8dba",
    "prevHash": "556164277e9e8208799153e43ffcae0961c053b1b6466da4c182e498d803f376",
    "entryHash": "4f4c79255ce80434058135a8fc6570811a7ab7ce7fc26518326015e53e9cbe7a",
    "keyId": "k1",
    "signature": "IcxGemSpY9qknUiUFFLZlowQ/BNm+uoLlxnH0jwLy3NSMfqu/eSzXKD092FnMiEhkIORI65pZkGXcEEHZj39Aw==",
    "recordedAt": "2026-10-26T08:11:08.847755+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}