Build FB specific Isomorphic Bundles (#19049)

We need this so we can version them separately and use different
feature flags than we use for OSS RN.

I put them in a separate facebook-react-native folder which won't go
into the RN GH repo. I plan on moving the renderers there too but not yet.
This commit is contained in:
Sebastian Markbåge
2020-05-29 15:32:38 -07:00
committed by GitHub
parent 2efe63d99c
commit 1d85bb3ce1
3 changed files with 31 additions and 1 deletions

View File

@@ -70,6 +70,10 @@ function getBundleOutputPath(bundleType, filename, packageName) {
case RN_FB_PROD:
case RN_FB_PROFILING:
switch (packageName) {
case 'scheduler':
case 'react':
case 'react-test-renderer':
return `build/facebook-react-native/${packageName}/cjs/${filename}`;
case 'react-native-renderer':
return `build/react-native/implementations/${filename.replace(
/\.js$/,