@samitouri / QOS-React / commits / 4c34a7ffc5

Add missing bundle types for ReactCacheOld (#28860)

Add missing bundle types for ReactCacheOld These are used at FB and we need to update them for the SecretInternals update.

Jan Kassens committed Apr 18, 2024 at 17:26 UTC 4c34a7ffc59207e8baa19e8c4698a2f90a46177c
1 file changed +1 -3
scripts/rollup/bundles.js
+1 -3
@@ -879,9 +879,7 @@ const bundles = [
879
880 /******* React Cache (experimental, old) *******/
881 {
882 - // This is only used by our own tests.
883 - // We can delete it later.
884 - bundleTypes: [NODE_DEV, NODE_PROD],
882 + bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
883 moduleType: ISOMORPHIC,
884 entry: 'react-cache',
885 global: 'ReactCacheOld',