# Frontend bundling via Bun

> Bundling via Bun with Make targets for typecheck and bundling

- Skill: `rcarmo/frontend-bundling-via-bun` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rcarmo/frontend-bundling-via-bun`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rcarmo/frontend-bundling-via-bun/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: rcarmo (https://skillmd.com/u/rcarmo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rcarmo/frontend-bundling-via-bun

---


# Skill: Frontend bundling via Bun

## Goal
Provide Make targets for TypeScript typecheck + bundling using Bun.

## Recommended targets
- `make install` — install deps
- `make typecheck` — TypeScript type checking
- `make build` — typecheck + bundle for production
- `make build-client` — bundle frontend only
- `make build-client-dev` — bundle frontend with sourcemaps
- `make vendor` — rebuild vendored frontend deps

## Vendoring
All frontend JS dependencies are vendored in `public/vendor/`.
The `make vendor` target rebuilds them from `node_modules/`.
Import maps in `index.html` resolve bare specifiers to vendored files.

