mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +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,
|
bundle.moduleType,
|
||||||
pureExternalModules
|
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(
|
const [mainOutputPath, ...otherOutputPaths] = Packaging.getBundleOutputPaths(
|
||||||
bundleType,
|
bundleType,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user