feat: support Deno namespace in Worker API (#4784)

This commit is contained in:
Bartek Iwańczuk 2020-04-16 23:40:29 +02:00 committed by GitHub
parent 1cd1f7de70
commit d359789c52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 190 additions and 21 deletions

View file

@ -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;
}