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.
This commit is contained in:
parent
633182a836
commit
188362098b
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user