microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.36k stars 1.14k forks source link

Internal RNW Codegen should output to FBReactNativeSpecJSI #14129

Open acoates-ms opened 1 day ago

acoates-ms commented 1 day ago

Internal headers such as the default turbo modules, expect the codegen'd files to be located at FBReactNativeSpecJSI/FBReactNativeSpecJSI.h

Currently our codegen outputs to codegen. This requires an additional header located at FBReactNativeSpecJSI/FBReactNativeSpecJSI.h that just #include's <codegen/rnwcoreJSI.h>

We should consider modifying the codegen logic to locate the generated files at a compatible location.