Skip to content

Commit

Permalink
Don't build non-experimental www bundles
Browse files Browse the repository at this point in the history
Reduces the likelihood we'll accidentally sync the wrong ones.
  • Loading branch information
acdlite committed Oct 18, 2019
1 parent d7feeb2 commit b849256
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scripts/rollup/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,16 +656,22 @@ async function buildEverything() {
[bundle, NODE_DEV],
[bundle, NODE_PROD],
[bundle, NODE_PROFILING],
[bundle, FB_WWW_DEV],
[bundle, FB_WWW_PROD],
[bundle, FB_WWW_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]
);

if (__EXPERIMENTAL__) {
// www uses experimental builds only.
bundles.push(
[bundle, FB_WWW_DEV],
[bundle, FB_WWW_PROD],
[bundle, FB_WWW_PROFILING]
);
}
}

if (!shouldExtractErrors && process.env.CIRCLE_NODE_TOTAL) {
Expand Down

0 comments on commit b849256

Please sign in to comment.