summaryrefslogtreecommitdiff
path: root/cli/js/compiler.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-16 23:40:29 +0200
committerGitHub <noreply@github.com>2020-04-16 23:40:29 +0200
commitd359789c529d3c7b5fab5471309eaa4b75fc0bfd (patch)
treed9e9d45c2d65054c382a5bea1d818ea049b832bd /cli/js/compiler.ts
parent1cd1f7de70b8ee68d2f6757f2b38a712ea1f3876 (diff)
feat: support Deno namespace in Worker API (#4784)
Diffstat (limited to 'cli/js/compiler.ts')
-rw-r--r--cli/js/compiler.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/compiler.ts b/cli/js/compiler.ts
index b3cd3a481..91653a8e4 100644
--- a/cli/js/compiler.ts
+++ b/cli/js/compiler.ts
@@ -391,12 +391,12 @@ async function wasmCompilerOnMessage({
}
function bootstrapTsCompilerRuntime(): void {
- bootstrapWorkerRuntime("TS");
+ bootstrapWorkerRuntime("TS", false);
globalThis.onmessage = tsCompilerOnMessage;
}
function bootstrapWasmCompilerRuntime(): void {
- bootstrapWorkerRuntime("WASM");
+ bootstrapWorkerRuntime("WASM", false);
globalThis.onmessage = wasmCompilerOnMessage;
}