initialize Electron desktop app and remove unused files
Build / build (push) Canceled after 0s
Playwright / browser (push) Canceled after 0s

This commit is contained in:
2026-10-25 01:09:01 +08:00
commit 01d9e301fc
877 changed files with 262513 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { build } from 'esbuild'
import { mkdir } from 'node:fs/promises'
await mkdir('dist/electron', { recursive: true })
await build({
entryPoints: ['electron/main.ts', 'electron/preload.ts', 'electron/backend.ts'],
outdir: 'dist/electron',
bundle: true,
platform: 'node',
format: 'cjs',
target: 'node24',
external: ['electron', 'vite'],
sourcemap: true,
})