Skip to content

Commit f0f60e6

Browse files
authored
Revert "Remove legacy www config from Rollup build (#18016)"
This reverts commit 529e58a.
1 parent f727803 commit f0f60e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/rollup/build.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,11 @@ async function createBundle(bundle, bundleType) {
541541
bundle.moduleType,
542542
pureExternalModules
543543
),
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,
544549
};
545550
const [mainOutputPath, ...otherOutputPaths] = Packaging.getBundleOutputPaths(
546551
bundleType,

0 commit comments

Comments
 (0)