[PR #2287] [CLOSED] fix: update build configuration and type definitions in package.json #4246

Closed
opened 2026-03-13 11:39:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2287
Author: @productdevbook
Created: 4/15/2025
Status: Closed

Base: mainHead: fix/build


📝 Commits (4)

  • b8e8280 fix: update build configuration and type definitions in package.json
  • 41f36e1 fix: remove failOnWarn option from build configuration
  • 7b093c4 style: format globOptions for better readability in build configuration
  • 572d687 style: improve formatting of globOptions for better readability in build configuration

📊 Changes

2 files changed (+83 additions, -148 deletions)

View changed files

📝 packages/better-auth/build.config.ts (+34 -99)
📝 packages/better-auth/package.json (+49 -49)

📄 Description

Refactored and optimized the package build configuration to significantly reduce the total distribution size.

Old total dist size: 9.43 MB

New total dist size: 3.91 MB

These changes make the package cleaner and more efficient for distribution.


🔄 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/2287 **Author:** [@productdevbook](https://github.com/productdevbook) **Created:** 4/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/build` --- ### 📝 Commits (4) - [`b8e8280`](https://github.com/better-auth/better-auth/commit/b8e828021274272fd38b44b98661acb050445516) fix: update build configuration and type definitions in package.json - [`41f36e1`](https://github.com/better-auth/better-auth/commit/41f36e1c1f69e4bf813842249f58f2c888883207) fix: remove failOnWarn option from build configuration - [`7b093c4`](https://github.com/better-auth/better-auth/commit/7b093c4d1c1bb0fcfc55daa1a682a2c253ae3a4c) style: format globOptions for better readability in build configuration - [`572d687`](https://github.com/better-auth/better-auth/commit/572d687065adc78a3a2b5e3559fe864080b452b2) style: improve formatting of globOptions for better readability in build configuration ### 📊 Changes **2 files changed** (+83 additions, -148 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/build.config.ts` (+34 -99) 📝 `packages/better-auth/package.json` (+49 -49) </details> ### 📄 Description Refactored and optimized the package build configuration to significantly reduce the total distribution size. Old total dist size: 9.43 MB New total dist size: 3.91 MB These changes make the package cleaner and more efficient for distribution. --- <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-03-13 11:39:14 -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#4246