web-bundling
kjaylee 제작
Web & Frontend Development요약
Bundle web applications into single HTML files for distribution.
설명
이 스킬이 하는 일
Bundles React/Vite applications into a single self-contained HTML file. Handles inlining of CSS, JS, images, fonts, and audio as base64 data URIs. Covers both frameworkless games and React+Vite+Parcel workflows.
A single HTML file eliminates external CDN dependencies, making it work offline and simplifying distribution to platforms like itch.io or Telegram.
사용 시점
- Packaging a React game for itch.io upload
- Sharing a prototype without a hosting server
- Bundling a Telegram Mini App into one deployable file
- Creating an offline-capable HTML5 demo
- Inlining fonts and audio for a fully portable artifact
예시 워크플로
User asks: bundle my React+Vite game into a single HTML file
- 1
Run
npm run buildto produce the Vite dist output - 2
Run
npx parcel build dist/index.html --no-source-mapsto combine assets - 3
Run
npx html-inline dist/index.html -o bundle.htmlto inline remaining assets - 4
Verify no external CDN references remain in bundle.html
- 5
Check file size and confirm console errors are absent
bundle.html — a single portable HTML file with all assets inlined
설치
clawhub install kjaylee/web-bundlingCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.