perf: use lzma-wasm for SWF decompression and drop vite
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:
1 parent
7a41775c7e
commit
ca59a1065f
6 files changed
+19
-31
No files matched your search
Generated
+7
-10
@@ -79,9 +79,9 @@ importers:
|
||||
lucide-react:
|
||||
specifier: 1.33.0
|
||||
version: 1.33.0([email protected])
|
||||
lzma:
|
||||
specifier: ^2.3.2
|
||||
version: 2.3.2
|
||||
lzma-wasm:
|
||||
specifier: 1.0.7
|
||||
version: 1.0.7
|
||||
motion:
|
||||
specifier: 13.1.1
|
||||
version: 13.1.1([email protected]([email protected]))([email protected])
|
||||
@@ -185,9 +185,6 @@ importers:
|
||||
typescript:
|
||||
specifier: 7.0.2
|
||||
version: 7.0.2
|
||||
vite:
|
||||
specifier: 8.2.2
|
||||
version: 8.2.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected])
|
||||
vitest:
|
||||
specifier: 4.1.11
|
||||
version: 4.1.11(@types/[email protected])(@vitest/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))
|
||||
@@ -2450,9 +2447,9 @@ packages:
|
||||
peerDependencies:
|
||||
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||
|
||||
lzma@2.3.2:
|
||||
resolution: {integrity: sha512-DcfiawQ1avYbW+hsILhF38IKAlnguc/fjHrychs9hdxe4qLykvhT5VTGNs5YRWgaNePh7NTxGD4uv4gKsRomCQ==}
|
||||
hasBin: true
|
||||
lzma[email protected]:
|
||||
resolution: {integrity: sha512-/fm+kRC7MqF9aCAWU5GwmgWllzM7ehC46aB5Va7V1PAnUl0qSU8ZA2XWk8yOgZbkgL6MWLDyYIVJR+UQziwvUA==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
|
||||
@@ -4593,7 +4590,7 @@ snapshots:
|
||||
dependencies:
|
||||
react: 19.2.8
|
||||
|
||||
lzma@2.3.2: {}
|
||||
lzma[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
|
||||
Reference in new issue
Block a user