Skip to content

Commit c4d7c63

Browse files
committed
Added exception for Yoga to preserve directories
1 parent b497533 commit c4d7c63

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/react-native/scripts/ios-prebuild/headers-config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@ const PodspecExceptions /*: {[key: string]: PodSpecConfiguration} */ = {
217217
},
218218
],
219219
},
220+
// Yoga should preserve its directory structure
221+
'ReactCommon/yoga/Yoga.podspec': {
222+
name: 'Yoga',
223+
headerPatterns: ['yoga/**/*.h'],
224+
headerDir: 'yoga',
225+
preservePaths: ['yoga/**/*.h'],
226+
},
220227

221228
// ReactCommon.podspec has multiple subspecs with different header_dir values
222229
// that the generic parser cannot handle (it only extracts the first header_dir).

0 commit comments

Comments
 (0)