Leaflet / Leaflet.toolbar

Flexible, extensible toolbars for Leaflet maps.
MIT License
197 stars 70 forks source link

Update package.json so that require() works #42

Closed justinffs closed 8 years ago

justinffs commented 8 years ago

Would like to use this with webpack

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 93.701% when pulling 7309728c477b3c5c03028e90ff963f3c6e5e5014 on fingerfoodstudios:master into 312e9ac2d1af0a6275f32012ecafd58058ee5961 on Leaflet:master.

agentmilindu commented 8 years ago

Hi, I installed leaflet-toolbar via npm today, but this "main" is not there in the package.json :/

floross commented 8 years ago

It's works when using https url inside the package.json. Maybe the last version has not been plublish on npm.

Quote from https://www.npmjs.com/package/leaflet-toolbar: published 2 years ago

As a workaround you can put this inside your dependencies hash:

"leaflet-toolbar": "git+https://github.com/Leaflet/Leaflet.toolbar.git",