diff --git a/scripts/rollup/build.js b/scripts/rollup/build.js index c629ed509a7a4..97fee0eab2853 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,