Add main to package.json
In order to require() and use Leaflet via browserify requires that the package define a main entry point for the module.
This commit is contained in:
parent
b993f1fc4b
commit
360fb06620
@ -8,6 +8,7 @@
|
||||
"uglify-js": "~2.2.3",
|
||||
"jake": "latest"
|
||||
},
|
||||
"main": "dist/leaflet.js",
|
||||
"scripts": {
|
||||
"test": "node ./node_modules/jake/bin/cli test"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user