mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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:
committed by
GitHub
parent
2efe63d99c
commit
1d85bb3ce1
@@ -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$/,
|
||||
|
||||
Reference in New Issue
Block a user