vite-plugin-prettier-format
JSON →Vite plugin that formats output files with Prettier after bundle generation, specifically useful for library mode builds. Version 1.0.0 (initial release) requires Node.js >=18.0.0 || >=20.0.0 and Prettier >=3.0.0 as a peer dependency. It hooks into the closeBundle phase, finds all files in outDir, reads, formats with Prettier using the project's config, and writes back. Unlike other formatting plugins, this one ensures consistent formatting of distribution files during the build process.
Traffic · last 30 days stale · no recent hits
total hits 9
actors 3 distinct systems
last hit 20d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/vite-plugin-prettier-format/compatibility