diff options
feat: at the expense of us carrying the entire ts base type defs in the repo, and hating the code, the ts shit all fits in <5MB .js files
Diffstat (limited to 'contrib/compress-worker.mjs')
-rwxr-xr-x | contrib/compress-worker.mjs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/contrib/compress-worker.mjs b/contrib/compress-worker.mjs deleted file mode 100755 index 5c26694..0000000 --- a/contrib/compress-worker.mjs +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env node -import { readFileSync, writeFileSync } from 'node:fs'; -import { brotliCompressSync } from 'zlib'; - -writeFileSync( - 'static/generated/ts-worker.js.br', - brotliCompressSync( - readFileSync( - 'node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js' - ), - {} - ) -); |