perf: use lzma-wasm for SWF decompression and drop vite
CI / check (push) Successful in 28s
CI / release (push) Skipped
CI / deploy (push) Successful in 59s

Replace the pure-JS lzma decoder with lzma-wasm (Rust/WASM, base64-inlined,
zero-alloc decompress), giving an order-of-magnitude speedup on furni
imports. Remove the obsolete lzma type shim and the redundant top-level
vite dev dependency, which nothing imports directly.
This commit is contained in:
openhands committed 2026-08-29 19:27:27 +02:00
1 parent 7a41775c7e
commit ca59a1065f
6 files changed
+19 -31

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
declare module "lzma" {
export const LZMA: any;
export function decompress(
byte_array: any,
on_finish?: (result: any, error: any) => void,
on_progress?: (percent: number) => void,
): any;
export function compress(
string: string | Uint8Array,
mode: number,
on_finish?: (result: any, error: any) => void,
on_progress?: (percent: number) => void,
): any;
}