vite-plugin-singlefile
JSON →Vite plugin for inlining all JavaScript and CSS resources into a single HTML file. Version 2.3.3 is the latest stable release. The plugin is actively maintained with frequent updates. It differentiates from other inline plugins by focusing on producing a single index.html with no other output files, supporting Vite 5, 6, 7, and 8. It is specifically designed for offline web applications (single-file apps) and not recommended for server-hosted sites. The plugin automatically adjusts Vite build config for asset inlining and includes options to remove Vite's module loader and delete inlined files.
Traffic · last 30 days ↓12% vs prev 7d
total hits 20
actors 7 distinct systems
last hit 14h ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇪🇸 Spain · 🇨🇦 Canada · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/vite-plugin-singlefile
compatibility /v1/registry/vite-plugin-singlefile/compatibility