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
+1
-1
@@ -32,7 +32,7 @@ const nextConfig: NextConfig = {
|
||||
reactStrictMode: true,
|
||||
compress: true,
|
||||
productionBrowserSourceMaps: false,
|
||||
serverExternalPackages: ["lzma", "sharp", "pino", "pino-pretty"],
|
||||
serverExternalPackages: ["lzma-wasm", "sharp", "pino", "pino-pretty"],
|
||||
|
||||
async redirects() {
|
||||
return [
|
||||
|
||||
Reference in new issue
Block a user