mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
* 🔧 chore(desktop): exclude node_modules from electron-builder packaging - Add !node_modules to files config to prevent bundling node_modules - Remove unused asarUnpack config for sharp and @img (not used in electron main process) Fixes LOBE-3008 * 🔧 chore(file-loaders): move @napi-rs/canvas to devDependencies @napi-rs/canvas is only used in test/setup.ts for DOMMatrix polyfill, not required at runtime. Moving to devDependencies allows Vite to bundle all runtime dependencies as pure JS. * 🔧 chore(desktop): remove pdfjs-dist from dependencies Removed the pdfjs-dist package from the dependencies in package.json as it is no longer needed. Signed-off-by: Innei <tukon479@gmail.com> * 🔧 chore(desktop): refactor electron-builder configuration and remove unused files * 🔧 chore(desktop): refactor electron-builder configuration and remove unused files --------- Signed-off-by: Innei <tukon479@gmail.com>