stevage / map-gl-utils

A utility library that makes Mapbox GL JS or Maplibre GL a bit more convenient to work with.
https://npmjs.com/package/map-gl-utils
210 stars 24 forks source link

regeneratorRuntime is not defined #44

Open obermartin opened 9 months ago

obermartin commented 9 months ago

using throws this error:

map-gl-utils:1 Uncaught ReferenceError: regeneratorRuntime is not defined
    at map-gl-utils:1:17623
    at map-gl-utils:1:19350
    at map-gl-utils:1:192
    at map-gl-utils:1:196
(anonymous) @ map-gl-utils:1
(anonymous) @ map-gl-utils:1
(anonymous) @ map-gl-utils:1
(anonymous) @ map-gl-utils:1

a bit of googling leads me to believe this is probably babel-related: https://github.com/babel/babel/issues/14576