Files
desktop-electron/vite.preload.config.ts
zeekayandHanzo Dev 674b6badb1 release: apt conflict broke every Linux bundle; Forge config was ESM
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]>
2026-07-27 23:09:44 -07:00

7 lines
264 B
TypeScript

import { defineConfig } from "vite";
// preload 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({});