Skip to content

Commit

Permalink
Revert "Remove legacy www config from Rollup build (#18016)"
Browse files Browse the repository at this point in the history
This reverts commit 529e58a.
  • Loading branch information
bvaughn committed Feb 11, 2020
1 parent f727803 commit f0f60e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/rollup/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,11 @@ 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,
Expand Down

0 comments on commit f0f60e6

Please sign in to comment.