03 Build Config banner
codeaashu codeaashu

03 Build Config

Development community

Description

# Prompt 03: Create esbuild-Based Build System ## Context You are working in `/workspaces/claude-code`. This is the Claude Code CLI — a TypeScript/TSX terminal app using React + Ink. It was originally built using **Bun's bundler** with feature flags, but that build config wasn't included in the leak. We need to create a build system that: 1. Bundles the entire `src/` tree into a runnable output 2. Aliases `bun:bundle` → our shim at `src/shims/bun-bundle.ts` 3. Injects the `MACRO` global (via

Installation

Installs to ~/.claude/skills/codeaashu-claude-code-03-build-config/SKILL.md

Terminal
mkdir -p ~/.claude/skills/codeaashu-claude-code-03-build-config && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/03-build-config.md -o ~/.claude/skills/codeaashu-claude-code-03-build-config/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository