feat: Update Electron Download types (#1621)

* feat: Update Electron Download types

* Fix vite rollup

---------

Co-authored-by: Oto Ciulis <oto.ciulis@gmail.com>
Co-authored-by: huchenlei <huchenlei@proton.me>
This commit is contained in:
oto-ciulis-tt
2024-11-20 17:34:27 -08:00
committed by GitHub
parent c857e7d98c
commit 94f5031f0d
4 changed files with 22 additions and 18 deletions

View File

@@ -150,7 +150,10 @@ export default defineConfig({
rollupOptions: {
// Disabling tree-shaking
// Prevent vite remove unused exports
treeshake: false
treeshake: false,
external: [
'electron'
]
}
},