[PR #8126] [MERGED] chore(electron): improve build config #16007

Closed
opened 2026-04-13 10:20:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8126
Author: @jslno
Created: 2/24/2026
Status: Merged
Merged: 2/24/2026
Merged by: @himself65

Base: canaryHead: 02-24-2026/simplify-electron-build-cfg


📝 Commits (4)

  • 5ee0ee1 chore(electron): improve build config
  • dd4c75f chore: fix linting
  • 11615be chore: update
  • 6af21d1 Merge branch 'canary' into 02-24-2026/simplify-electron-build-cfg

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 packages/electron/tsdown.config.ts (+8 -1)

📄 Description

Summary by cubic

Dynamically compute externals in the Electron preload build: mark non-relative imports external unless they start with "better-call" or "@better-auth/core", and do not externalize already-resolved IDs. Prevents accidental bundling and includes lint fixes.

Written for commit 6af21d1d4b. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8126 **Author:** [@jslno](https://github.com/jslno) **Created:** 2/24/2026 **Status:** ✅ Merged **Merged:** 2/24/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `02-24-2026/simplify-electron-build-cfg` --- ### 📝 Commits (4) - [`5ee0ee1`](https://github.com/better-auth/better-auth/commit/5ee0ee14323d95a0dbb9dbc206440b166e67710e) chore(electron): improve build config - [`dd4c75f`](https://github.com/better-auth/better-auth/commit/dd4c75fef6d48e5945a0b3080114272cb85aa468) chore: fix linting - [`11615be`](https://github.com/better-auth/better-auth/commit/11615bef1bd1acad042733fd42dbdf7ee1ef26aa) chore: update - [`6af21d1`](https://github.com/better-auth/better-auth/commit/6af21d1d4b1f005d03363333247eed7a20df2568) Merge branch 'canary' into 02-24-2026/simplify-electron-build-cfg ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/electron/tsdown.config.ts` (+8 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Dynamically compute externals in the Electron preload build: mark non-relative imports external unless they start with "better-call" or "@better-auth/core", and do not externalize already-resolved IDs. Prevents accidental bundling and includes lint fixes. <sup>Written for commit 6af21d1d4b1f005d03363333247eed7a20df2568. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 10:20:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16007