Skip to content

Commit 267de6e

Browse files
backmeupplzclaude
andcommitted
Fix binary build: exclude react-devtools-core from bundle
Ink dynamically imports react-devtools-core for dev mode only, but bun build --compile fails trying to resolve it statically. Mark it as external so the bundler skips it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c6e3fed commit 267de6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v4
3838
- uses: oven-sh/setup-bun@v2
3939
- run: bun install --frozen-lockfile
40-
- run: bun build src/index.tsx --compile --outfile farcaster-tui-${{ matrix.target }}
40+
- run: bun build src/index.tsx --compile --external react-devtools-core --outfile farcaster-tui-${{ matrix.target }}
4141
- uses: softprops/action-gh-release@v2
4242
with:
4343
files: farcaster-tui-${{ matrix.target }}

PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Maintainer: backmeupplz
22
pkgname=farcaster-tui
3-
pkgver=0.2.0
3+
pkgver=0.2.1
44
pkgrel=1
55
pkgdesc="A terminal-based Farcaster client"
66
arch=('x86_64')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "farcaster-tui",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "A terminal-based Farcaster client",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)