Skip to content

Commit 2aa76c8

Browse files
committed
fix: JSON is why we cannot have good things
1 parent 81c63c0 commit 2aa76c8

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
@@ -157,19 +157,17 @@
157157
"source": "src",
158158
"output": "lib",
159159
"targets": [
160+
<% if (project.arch !== 'legacy') { -%>
161+
"codegen",
162+
<% } -%>
160163
"commonjs",
161164
"module",
162165
[
163166
"typescript",
164167
{
165168
"project": "tsconfig.build.json"
166169
}
167-
<% if (project.arch !== 'legacy') { -%>
168-
],
169-
"codegen"
170-
<% } else { -%>
171170
]
172-
<% } -%>
173171
]
174172
<% if (project.arch !== 'legacy') { -%>
175173
},

0 commit comments

Comments
 (0)