Require module fails because package.json points to incorrect file in dist
On line 33 in package.json. The 'main' key's value is 'dist/markercluster.js' In the dist folder there is only markercluster.min.js. This causes my require statement to fail to find the module. So out of the box it doesn't work.
The work around was to change the package.json to 'dist/markercluster.min.js.' I didn't want to bother with building the un-minified file. But I might want to though.
Anyways. Thanks for the great library!
Just hit this too— +1 for updating package.json to reference the 'dist/markercluster.min.js.' file. You want a PR?
just had the same issue.. fixed it by importing markerclustererplus/dist/markerclusterer.min.js But yeah.. needs fixing please :)