Leaflet.awesome-markers icon indicating copy to clipboard operation
Leaflet.awesome-markers copied to clipboard

package.json main field

Open bigwigal opened this issue 6 years ago • 0 comments

Thanks for this plugin, works really nicely.

I'm using NPM to install and have noticed that your main field is pointing to a non-existent file (index.js) so it's not possible to install via the shorthand import leaflet.awesome-markers; this import leaflet.awesome-markers/dist/leaflet.awesome-markers is fine though.

I've updated the field locally to main: dist/leaflet.awesome-markers.js and all works as expected. Thanks again.

bigwigal avatar Nov 15 '18 14:11 bigwigal