mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
Revert "Remove legacy www config from Rollup build (#18016)"
This reverts commit 529e58ab0a.
This commit is contained in:
parent
f7278034de
commit
f0f60e6ff0
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user