Skip to content

Commit

Permalink
Build FB RN targets only in experimental mode (#17641)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Dec 17, 2019
1 parent 24dbe85 commit 4b0cdf2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/rollup/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,18 +686,18 @@ async function buildEverything() {
[bundle, NODE_PROFILING],
[bundle, RN_OSS_DEV],
[bundle, RN_OSS_PROD],
[bundle, RN_OSS_PROFILING],
[bundle, RN_FB_DEV],
[bundle, RN_FB_PROD],
[bundle, RN_FB_PROFILING]
[bundle, RN_OSS_PROFILING]
);

if (__EXPERIMENTAL__) {
// www uses experimental builds only.
// FB specific builds are experimental-only.
bundles.push(
[bundle, FB_WWW_DEV],
[bundle, FB_WWW_PROD],
[bundle, FB_WWW_PROFILING]
[bundle, FB_WWW_PROFILING],
[bundle, RN_FB_DEV],
[bundle, RN_FB_PROD],
[bundle, RN_FB_PROFILING]
);
}
}
Expand Down

0 comments on commit 4b0cdf2

Please sign in to comment.