Menu

1 / 2

vite-plugin-pack-orchestrator,One Vite Plugin for Compression, Checksums, and Auto Hash-Renaming

DEV Community·tianmiao_studio·6 months ago
#pYLIO0ik
#why#vite#javascript#vue#checksums
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.