Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json main field #96

Open
bigwigal opened this issue Nov 15, 2018 · 0 comments
Open

package.json main field #96

bigwigal opened this issue Nov 15, 2018 · 0 comments

Comments

@bigwigal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant