Remove legacy www config from Rollup build (#18016)
Dominic Gannaway committed
Feb 11, 2020 at 13:42 UTC
529e58ab0a62ed22be9b40bbe44a6ac1b2c89cfe
1 file changed
-5
scripts/rollup/build.js
-5
@@ -541,11 +541,6 @@ async function createBundle(bundle, bundleType) {
541
bundle.moduleType,
542
pureExternalModules
543
),
544
- // We can't use getters in www.
545
- legacy:
546
- bundleType === FB_WWW_DEV ||
547
- bundleType === FB_WWW_PROD ||
548
- bundleType === FB_WWW_PROFILING,
544
};
545
const [mainOutputPath, ...otherOutputPaths] = Packaging.getBundleOutputPaths(
546
bundleType,