Closed stephenhandley closed 6 years ago
I just created an es5-branch. It also includes a minified version. Please check that out.
awesome thanks! will check it out.
I've tested this out and it is working.
Thanks for the feedback
Thanks @henrythasler and @Azmisov
@henrythasler When do you plan on merging #34 (~Leaflet.Geodesic/pull/34) to ES5?
@cknakua I'm currently not inclined to support ES5 unless absolutely necessary.
When using Leaflet.Geodesic as a dependency in a
create-react-app
application, I am seeing the following error:Could you please publish an es5 compatible version as described here? https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
you could use webpack/babel to generate the code, but it doesn't look like you're using much non-es5 code and so it may just be a matter of replacing all
let
andconst
usage withvar
.