vite-plugin-plain-text
JSON →A Vite plugin that transforms matched files (e.g., LICENSE, .text, .glsl) into plain text strings, enabling direct import of file contents. Current stable version is 1.4.2, with regular releases. Key features include support for both named and default exports, automatic type declaration generation (.d.ts), sourcemaps, and ESM compatibility. Compared to alternatives like vite-plugin-virtual-plain-text, this plugin operates on real file paths rather than virtual modules.
Traffic · last 30 days ↑0% vs prev 7d
total hits 10
actors 2 distinct systems
last hit 7d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇹🇷 Turkey
Resources
API endpoints
full doc /v1/registry/vite-plugin-plain-text