mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #416] use packages=external in build scripts #1298
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/416
Author: @remorses
Created: 12/14/2025
Status: 🔄 Open
Base:
main← Head:fix/core-external-deps📝 Commits (2)
2f76de1use packages=external in build scripts934413cMerge remote-tracking branch 'upstream/main' into fix/core-external-deps📊 Changes
3 files changed (+7 additions, -23 deletions)
View changed files
📝
packages/core/scripts/build.ts(+5 -11)📝
packages/react/scripts/build.ts(+1 -6)📝
packages/solid/scripts/build.ts(+1 -6)📄 Description
Build scripts were manually listing dependencies to externalize, but core was missing regular
dependencies(only hadoptionalDependenciesandpeerDependencies). This caused deps likeyoga-layout,diff,jimp, andbun-ffi-structsto be bundled into dist.Switched all packages to use Bun's
packages: "external"option which automatically externalizes all npm imports.Tested compiling examples to standalone binaries with
bun build --compile- yoga-layout WASM and other dependencies are still bundled correctly by Bun at compile time.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.