Vai al contenuto
TakoAPI
Torna alle skill

web-bundling

di kjaylee

Web & Frontend Development
—Non ancora valutato
La tua valutazione

Sintesi

Bundle web applications into single HTML files for distribution.

Descrizione

Cosa fa questa skill

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.

Quando usarla

  • 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

Esempio di workflow

INPUT

User asks: bundle my React+Vite game into a single HTML file

AGENT
  1. 1

    Run npm run build to produce the Vite dist output

  2. 2

    Run npx parcel build dist/index.html --no-source-maps to combine assets

  3. 3

    Run npx html-inline dist/index.html -o bundle.html to inline remaining assets

  4. 4

    Verify no external CDN references remain in bundle.html

  5. 5

    Check file size and confirm console errors are absent

OUTPUT

bundle.html — a single portable HTML file with all assets inlined

Installazione

clawhub install kjaylee/web-bundling

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link