Skip to content

Commit 2a9cc9e

Browse files
committed
feat: pass codegen type all for view+module libraries
1 parent 8efcf93 commit 2a9cc9e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
},
171171
"codegenConfig": {
172172
"name": "RN<%- project.name -%><%- project.view ? 'View': '' -%>Spec",
173-
"type": <%- project.view ? '"components"': '"modules"' %>,
173+
"type": <%- project.view && project.module ? '"all"' : project.view ? '"components"': '"modules"' %>,
174174
"jsSrcsDir": "src"
175175
<% } -%>
176176
}

0 commit comments

Comments
 (0)