perf: optimize app startup and background lifecycles
This commit is contained in:
@@ -45,10 +45,6 @@ afterPack: ./scripts/after-pack.cjs
|
||||
asar: true
|
||||
asarUnpack:
|
||||
- "**/*.node"
|
||||
# lru-cache CJS/ESM interop: older CJS versions (v5, v6, v7) don't export
|
||||
# `LRUCache` as a named property, breaking `import { LRUCache }` in Node.js
|
||||
# 22+ (Electron 40+). Unpacking lets afterPack patch them in place.
|
||||
- "**/node_modules/lru-cache/**"
|
||||
|
||||
# Native addons in the desktop package use prebuilt/N-API artifacts.
|
||||
# Keep rebuild disabled, but verify packaged msgpackr and @napi-rs/canvas loading
|
||||
|
||||
Reference in New Issue
Block a user