summaryrefslogtreecommitdiff
path: root/cli/js/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/main.ts')
-rw-r--r--cli/js/main.ts18
1 files changed, 7 insertions, 11 deletions
diff --git a/cli/js/main.ts b/cli/js/main.ts
index bd30d33f7..bb7a8a2dc 100644
--- a/cli/js/main.ts
+++ b/cli/js/main.ts
@@ -9,16 +9,12 @@ import { bootstrapWorkerRuntime } from "./runtime_worker.ts";
delete (Object.prototype as any).__proto__;
Object.defineProperties(globalThis, {
- bootstrapMainRuntime: {
- value: bootstrapMainRuntime,
- enumerable: false,
- writable: false,
- configurable: false,
- },
- bootstrapWorkerRuntime: {
- value: bootstrapWorkerRuntime,
- enumerable: false,
- writable: false,
- configurable: false,
+ bootstrap: {
+ value: {
+ mainRuntime: bootstrapMainRuntime,
+ workerRuntime: bootstrapWorkerRuntime,
+ },
+ configurable: true,
+ writable: true,
},
});