UNPKG

vite-plugin-auto-zip

Version:

provide a vite plugin then zip your file after compile done

12 lines (9 loc) 309 B
import {Plugin} from 'vite'; import {makeZip} from "./zipUtils"; export interface IPluginOptions { folderPath: string; outName: string; outPath: string; } export default function AutoZip(outName?: string, folderPath?: string, outPath?: string): Plugin; export declare const zip: typeof makeZip;