mirror of https://github.com/buster-so/buster.git
Optimize CLI binary build process by adding --minify flag for production builds
This commit is contained in:
parent
42bf5859c8
commit
79a9d0e978
|
@ -71,7 +71,8 @@ jobs:
|
|||
run: |
|
||||
echo "📦 Building standalone CLI binary for ${{ matrix.target }}..."
|
||||
# Note: Bun compiles for the host platform, cross-compilation happens via matrix strategy
|
||||
bun build src/index.tsx --compile --outfile dist/buster-cli
|
||||
# Using --minify for production builds to reduce binary size
|
||||
bun build src/index.tsx --compile --minify --outfile dist/buster-cli
|
||||
|
||||
# Make binary executable on Unix systems
|
||||
if [[ "${{ runner.os }}" != "Windows" ]]; then
|
||||
|
|
Loading…
Reference in New Issue