Skip to content

Commit 86fab42

Browse files
authored
fix: make sure react-native.config.json is shipped with each library Fixes #647 (#648)
### Summary With the new introduction of a90142f#diff-4282562f42ade49c2eb46dee36bcbb7987322efec211330f48387a10e5514678R206 that adds `includeGeneratedCode`, `react-native.config.js` needs to be shipped with the NPM module to signal what directory to use. ### Test plan Tested `react-native-vector-icons` where I discovered this issue against my project.
1 parent 091a768 commit 86fab42

File tree

1 file changed

+1
-0
lines changed
  • packages/create-react-native-library/templates/common

1 file changed

+1
-0
lines changed

packages/create-react-native-library/templates/common/$package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"ios",
2525
"cpp",
2626
"*.podspec",
27+
"react-native.config.json",
2728
"!ios/build",
2829
"!android/build",
2930
"!android/gradle",

0 commit comments

Comments
 (0)