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 stale · no recent hits
total hits 15
actors 4 distinct systems
last hit 25d ago AhrefsBot
top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/vite-plugin-plain-text
compatibility /v1/registry/vite-plugin-plain-text/compatibility