From e803010fe28b849220f0dd5b35e16abb4584667e Mon Sep 17 00:00:00 2001 From: memdmp Date: Mon, 24 Feb 2025 06:06:42 +0100 Subject: 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 --- contrib/compress-worker.mjs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 contrib/compress-worker.mjs (limited to 'contrib') 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' - ), - {} - ) -); -- cgit v1.2.3