Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.

0.1.2

Choose a tag to compare

@github-actions github-actions released this 30 Jul 19:18
· 9 commits to main since this release
Fix crash on launch: bundle Octokit instead of externalizing it

Octokit (@octokit/rest and its plugins) ships ESM-only. electron-vite's
externalizeDepsPlugin was leaving it external, so the packaged CJS main
bundle tried to require() it at runtime and crashed immediately on launch
with ERR_REQUIRE_ESM - this only surfaces once the built .exe actually
runs, not during dev/build/typecheck, so it made it past every check that
could run in the sandbox this was built in.

Excluding it from externalizeDepsPlugin makes Rollup bundle it (and its
transitive ESM deps) directly into out/main/index.js as CJS.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GosgQesSq4dXyChMuqVyba