Why Another Wheel?
There are already some Vite packing plugins out there — vite-plugin-zip-pack , vite-plugin-compress , etc. They work, but they always feel like they're missing something. Most of them only support ZIP and offer fairly limited functionality.
In real-world projects, the build packaging step is rarely that simple:
Multiple compression formats 🗜️ — ZIP for sharing with colleagues, TAR.GZ for deploying to Linux servers, 7Z for higher compression ratio archiving. Different scenarios demand different formats.
File checksums 🔐 — After packaging, you need MD5/SHA1 checksums to verify version consistency, especially when delivering builds to clients.
Flexible naming ✏️ — Version numbers, timestamps, hash values — the more information in the filename, the better.
CI/CD friendly 🚀 — Every build artifact in a pipeline should be uniquely traceable.…