diff --git a/.yarnrc.yml b/.yarnrc.yml index e875a57bb43e..a5670d17c0cd 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -2,6 +2,14 @@ enableGlobalCache: true nodeLinker: node-modules +packageExtensions: + react-native@*: + peerDependencies: + "@babel/preset-env": "^7.1.6" + react-native-codegen@*: + peerDependencies: + "@babel/preset-env": "^7.1.6" + plugins: - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs spec: "@yarnpkg/plugin-interactive-tools"