calvinmetcalf / shapefile-js

Convert a Shapefile to GeoJSON. Not many caveats.
http://calvinmetcalf.github.io/shapefile-js/
715 stars 228 forks source link

Immiediate 3.0.6 and undefined global #120

Closed huberts closed 2 years ago

huberts commented 4 years ago

Hi!

I use the shpjs as npm module in web application. After my npm install, the module includes immediate library in 3.0.6 version and uses (via lie module) the brower.js script. There, if I load the module, I get an error "global is undefined". Link to immediate module file Right now, I removed shpjs from my dependencies and switchted to full script from https://unpkg.com/shpjs@latest/dist/shp.js.