From ed2f685c65e5f2c28edc1492bdfb0790fedc69f3 Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Tue, 11 Feb 2020 12:12:14 +0000 Subject: [PATCH] Remove legacy www config from Rollup build --- scripts/rollup/build.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/rollup/build.js b/scripts/rollup/build.js index c629ed509a7..97fee0eab28 100644 --- a/scripts/rollup/build.js +++ b/scripts/rollup/build.js @@ -541,11 +541,6 @@ async function createBundle(bundle, bundleType) { bundle.moduleType, pureExternalModules ), - // We can't use getters in www. - legacy: - bundleType === FB_WWW_DEV || - bundleType === FB_WWW_PROD || - bundleType === FB_WWW_PROFILING, }; const [mainOutputPath, ...otherOutputPaths] = Packaging.getBundleOutputPaths( bundleType,