From a9d5dbb500a97fbba30d1298b2da5270d2f735ce Mon Sep 17 00:00:00 2001 From: NEMO Date: Wed, 6 Apr 2022 14:52:20 +0800 Subject: [PATCH] chore: warning suppression --- packages/preload/vite.config.ts | 1 + 1 file changed, 1 insertion(+) 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 || {}), ], },