We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0754eeb commit 414d6caCopy full SHA for 414d6ca
Modules/@babylonjs/react-native/android/build.gradle
@@ -50,7 +50,10 @@ static def findNodeModules(baseDir) {
50
def nodeModulesPath = Paths.get(basePath.toString(), "node_modules")
51
def reactNativePath = Paths.get(nodeModulesPath.toString(), "react-native")
52
if (nodeModulesPath.toFile().exists() && reactNativePath.toFile().exists()) {
53
- return nodeModulesPath.toString()
+ // skip @babylonjs scoped packages
54
+ if (!nodeModulesPath.toString().contains("@babylonjs")) {
55
+ return nodeModulesPath.toString()
56
+ }
57
}
58
basePath = basePath.getParent()
59
0 commit comments