diff --git a/packages/preload/vite.config.ts b/packages/preload/vite.config.ts index 4c31711..5d6877b 100644 --- a/packages/preload/vite.config.ts +++ b/packages/preload/vite.config.ts @@ -18,6 +18,7 @@ export default defineConfig({ external: [ 'electron', ...builtinModules, + // @ts-ignore ...Object.keys(pkg.dependencies || {}), ], },