You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you created a project with [`create-react-native-library`](./create.md), `react-native-builder-bob` is **already pre-configured to build your project**. You don't need to configure it again.
13
14
@@ -168,6 +169,12 @@ Example:
168
169
169
170
Various targets to build for. The available targets are:
170
171
172
+
#### `codegen`
173
+
174
+
Generates the [React Native Codegen](https://reactnative.dev/docs/the-new-architecture/what-is-codegen) scaffold code, which is used with the New React Native Architecture.
175
+
176
+
You can ensure your Codegen generated scaffold code is stable through different React Native versions by shipping it with your library. You can find more in the [React Native Official Docs](https://reactnative.dev/docs/the-new-architecture/codegen-cli#including-generated-code-into-libraries).
177
+
171
178
#### `commonjs`
172
179
173
180
Enable compiling source files with Babel and use CommonJS module system.
0 commit comments