aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/ts-worker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/ts-worker.ts')
-rw-r--r--src/routes/ts-worker.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/routes/ts-worker.ts b/src/routes/ts-worker.ts
deleted file mode 100644
index 460885c..0000000
--- a/src/routes/ts-worker.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-export default (async () => {
- const contents = new TextDecoder().decode(
- (await (await import('brotli-wasm')).default).decompress(
- await fetch('./generated/ts-worker.js.br')
- .then((v) => v.arrayBuffer())
- .then((v) => new Uint8Array(v))
- )
- );
- const worker = new Worker(`data:text/javascript;base64,${btoa(contents)}`);
- return worker;
-})();