diff options
author | 2025-02-24 06:06:42 +0100 | |
---|---|---|
committer | 2025-02-24 06:06:42 +0100 | |
commit | e803010fe28b849220f0dd5b35e16abb4584667e (patch) | |
tree | 5c3479e8425491b055811ca69e43455fdc9973fb /contrib | |
parent | 15f74785afdfc4044a03d5bdf35221b60402b966 (diff) | |
download | httptool-e803010fe28b849220f0dd5b35e16abb4584667e.tar.gz httptool-e803010fe28b849220f0dd5b35e16abb4584667e.tar.bz2 httptool-e803010fe28b849220f0dd5b35e16abb4584667e.tar.lz httptool-e803010fe28b849220f0dd5b35e16abb4584667e.zip |
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')
-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' - ), - {} - ) -); |