mirror of
https://github.com/hanzo-templates/desktop-electron.git
synced 2026-10-30 20:49:06 +00:00
Two real failures in the first tagged release (run 30333608746): - ubuntu-22.04 died in apt with "held broken packages": the step asked for BOTH libappindicator3-dev and libayatana-appindicator3-dev, and those two conflict by declaration. Tauri v2 wants the ayatana one; the other is gone. - forge.config.js used `export default` while its package.json is CommonJS (deliberately — the built main process uses __dirname, so it must be CJS). Forge loads that file with require, so it would have thrown on the first `npm run make`. The two Vite node configs also hand-set `lib.formats` with no `lib.entry`; @electron-forge/plugin-vite supplies entry, format and externals itself, so they are back to empty and correct. Co-authored-by: Hanzo Dev <[email protected]>
7 lines
261 B
TypeScript
7 lines
261 B
TypeScript
import { defineConfig } from "vite";
|
|
|
|
// main bundle. @electron-forge/plugin-vite supplies the entry, the CJS output
|
|
// format and the Electron/node externals; this file exists so a fork has one
|
|
// obvious place to add to that.
|
|
export default defineConfig({});
|