diff options
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/runtime.js b/src/runtime.js index 4ac76bff0..485cdc6f6 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -9,16 +9,16 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; // We're disabling Object.freeze because it breaks CJS => ESM and can cause // issues with Suspense and other things that expect the CJS module namespace // to be mutable when the ESM module namespace is NOT mutable -var __objectFreezePolyfill = new WeakSet(); +// var __objectFreezePolyfill = new WeakSet(); -globalThis.Object.freeze = function freeze(obj) { - __objectFreezePolyfill.add(obj); - return obj; -}; +// globalThis.Object.freeze = function freeze(obj) { +// __objectFreezePolyfill.add(obj); +// return obj; +// }; -globalThis.Object.isFrozen = function isFrozen(obj) { - return __objectFreezePolyfill.has(obj); -}; +// globalThis.Object.isFrozen = function isFrozen(obj) { +// return __objectFreezePolyfill.has(obj); +// }; export var __markAsModule = (target) => __defProp(target, "__esModule", { value: true, configurable: true }); |