Permalink
Browse files

Docs: peerDependencies in plugins guide (#5142)

If I some plugin include leaflet to dependencies and I have local version leaflet, then I have two version - leaflet from plugin and my.
  • Loading branch information...
1 parent 633182a commit 188362098b715998b60f9f90500290da81565492 @Ralf8686 Ralf8686 committed with IvanSanchez Nov 24, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 PLUGIN-GUIDE.md
View
@@ -148,7 +148,7 @@ Here is an example of a `package.json` file for a Leaflet plugin.
"main": "my-plugin.js",
"author": "You",
"license": "IST",
- "dependencies": {
+ "peerDependencies": {
"leaflet": "^1.0.0"
}
}

0 comments on commit 1883620

Please sign in to comment.