diff --git a/scripts/rollup/build.js b/scripts/rollup/build.js index 34184efab63e1f..ee813ae817fcfa 100644 --- a/scripts/rollup/build.js +++ b/scripts/rollup/build.js @@ -656,9 +656,6 @@ 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], @@ -666,6 +663,15 @@ async function buildEverything() { [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) {