placemark / togeojson

convert KML, TCX, and GPX to GeoJSON, without the fuss
https://placemark.github.io/togeojson/
BSD 2-Clause "Simplified" License
410 stars 67 forks source link

Missing .umd files in subsequent releases after 1.0.0 #13

Closed Raruto closed 5 years ago

Raruto commented 5 years ago

Hi Tom, I believe that the latest current version (0.0.3) actually present on unpkg lacks of some files (or there are some problems with your package.json configuration).

In particular, I noticed that because i was trying to import it with browserify, but:

var toGeoJSON = require("./node_modules/@tmcw/togeojson/dist/togeojson.js"); // OK: pointing directly to installed file

var toGeoJSON = require("@tmcw/togeojson"); // Throws cannot find module '@tmcw/togeojson'

Have a nice day, Raruto

tmcw commented 5 years ago

Thanks for the note - I've fixed the typo in 3.0.1.