[PR #5369] [CLOSED] [rolldown bug]: JavaScript heap OOM #31565

Closed
opened 2026-04-17 22:27:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5369
Author: @himself65
Created: 10/16/2025
Status: ❌ Closed

Base: canary ← Head: himself65/2025/10/16/BUG


📝 Commits (1)

📊 Changes

1 file changed (+6 additions, -4 deletions)

View changed files

📝 tsconfig.json (+6 -4)

📄 Description

Summary by cubic

Fixes rolldown JavaScript heap OOM by shrinking the TypeScript project scope and adding a path alias for internal imports.

  • Bug Fixes
    • Added tsconfig “paths” for @better-auth/core to resolve to packages/core/src.
    • Set “include” and “files” to empty arrays to prevent repo-wide type scanning during builds.
    • Removed unused options (baseUrl, downlevelIteration, types) to simplify the config.

🔄 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/5369 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/16/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2025/10/16/BUG` --- ### 📝 Commits (1) - [`b80128e`](https://github.com/better-auth/better-auth/commit/b80128e389e98c99f64476195b7caa76f2940abc) WTF ### 📊 Changes **1 file changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `tsconfig.json` (+6 -4) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixes rolldown JavaScript heap OOM by shrinking the TypeScript project scope and adding a path alias for internal imports. - **Bug Fixes** - Added tsconfig “paths” for @better-auth/core to resolve to packages/core/src. - Set “include” and “files” to empty arrays to prevent repo-wide type scanning during builds. - Removed unused options (baseUrl, downlevelIteration, types) to simplify the config. <!-- 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-17 22:27:48 -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#31565