Skip to content

Commit

Permalink
Docs: peerDependencies in plugins guide (Leaflet#5142)
Browse files Browse the repository at this point in the history
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
semeleven authored and DiogoMCampos committed Dec 18, 2016
1 parent bfa953c commit d7a138f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PLUGIN-GUIDE.md
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit d7a138f

Please sign in to comment.