LogoClawIndex
CasesSkillsAbout
LogoClawIndex

single-file-bundling - Configure Vite for single-file HTML bundling in MCP Apps

Configures Vite with vite-plugin-singlefile to inline all UI assets into a single HTML file for MCP Apps in sandboxed iframes.

Tags

Updated: 2026-09-22

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Configure Vite with vite-plugin-singlefile
  • Inline JavaScript and CSS assets
  • Convert images to data URIs
  • Setup two-phase build pipeline
  • Configure hybrid build pipelines

Inputs

  • Framework selection
  • HTML entry point path
  • Output directory path
  • Hybrid build flag

Outputs

  • Single-file HTML bundle
  • Vite configuration file
  • Package.json build scripts

Requirements

  • Node.js runtime environment
  • Vite build tool
  • vite-plugin-singlefile plugin
  • Framework-specific Vite plugin

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
mcp-app
vite
single-file-bundling
asset-inlining
frontend-build
Configure Vite with vite-plugin-singlefile
Inline JavaScript and CSS assets
Convert images to data URIs
Setup two-phase build pipeline
Framework selection
HTML entry point path
Output directory path
Single-file HTML bundle
Vite configuration file
Package.json build scripts