@samitouri / QOS-React-2 / commits / 4b0cdf29a8

Build FB RN targets only in experimental mode (#17641)

Dan Abramov committed Dec 17, 2019 at 20:22 UTC 4b0cdf29a89d5199690a6aa64b362670d9bf9669
1 file changed +6 -6
scripts/rollup/build.js
+6 -6
@@ -686,18 +686,18 @@ async function buildEverything() {
686 [bundle, NODE_PROFILING],
687 [bundle, RN_OSS_DEV],
688 [bundle, RN_OSS_PROD],
689 - [bundle, RN_OSS_PROFILING],
690 - [bundle, RN_FB_DEV],
691 - [bundle, RN_FB_PROD],
692 - [bundle, RN_FB_PROFILING]
689 + [bundle, RN_OSS_PROFILING]
690 );
691
692 if (__EXPERIMENTAL__) {
696 - // www uses experimental builds only.
693 + // FB specific builds are experimental-only.
694 bundles.push(
695 [bundle, FB_WWW_DEV],
696 [bundle, FB_WWW_PROD],
700 - [bundle, FB_WWW_PROFILING]
697 + [bundle, FB_WWW_PROFILING],
698 + [bundle, RN_FB_DEV],
699 + [bundle, RN_FB_PROD],
700 + [bundle, RN_FB_PROFILING]
701 );
702 }
703 }