mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Use Rollup legacy mode for www builds (#11469)
This commit is contained in:
@@ -582,6 +582,8 @@ function createBundle(bundle, bundleType) {
|
||||
bundle.modulesToStub,
|
||||
bundle.featureFlags
|
||||
),
|
||||
// We can't use getters in www.
|
||||
legacy: bundleType === FB_DEV || bundleType === FB_PROD,
|
||||
})
|
||||
.then(result =>
|
||||
result.write(
|
||||
|
||||
Reference in New Issue
Block a user