Skip to content

Commit b427a7c

Browse files
chore(docs): Update migration guide for plugins that support both v2 & v3 (#30825)
Co-authored-by: Lennart <lekoarts@gmail.com>
1 parent d72ba51 commit b427a7c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/docs/reference/release-notes/migrating-from-v2-to-v3.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,17 @@ In most cases, you won't have to do anything to be v3 compatible. But one thing
860860
}
861861
```
862862
863+
If your plugin supports both versions:
864+
865+
```diff:title=package.json
866+
{
867+
"peerDependencies": {
868+
- "gatsby": "^2.32.0",
869+
+ "gatsby": "^2.32.0 || ^3.0.0",
870+
}
871+
}
872+
```
873+
863874
## Known Issues
864875
865876
This section is a work in progress and will be expanded when necessary. It's a list of known issues you might run into while upgrading Gatsby to v3 and how to solve them.

0 commit comments

Comments
 (0)