Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 529e58a

Browse files
authored
Remove legacy www config from Rollup build (facebook#18016)
1 parent 42918f4 commit 529e58a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/rollup/build.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,6 @@ 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,
549544
};
550545
const [mainOutputPath, ...otherOutputPaths] = Packaging.getBundleOutputPaths(
551546
bundleType,

0 commit comments

Comments
 (0)