Skip to content

Commit d0b1ad2

Browse files
committed
fix: JSON is why we cannot have good things
1 parent 7c4ccf2 commit d0b1ad2

File tree

1 file changed

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

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
"source": "src",
165165
"output": "lib",
166166
"targets": [
167+
<% if (project.arch !== 'legacy') { -%>
168+
"codegen",
169+
<% } -%>
167170
[
168171
"commonjs",
169172
{
@@ -180,12 +183,7 @@
180183
{
181184
"project": "tsconfig.build.json"
182185
}
183-
<% if (project.arch !== 'legacy') { -%>
184-
],
185-
"codegen"
186-
<% } else { -%>
187186
]
188-
<% } -%>
189187
]
190188
<% if (project.arch !== 'legacy') { -%>
191189
},

0 commit comments

Comments
 (0)