Zips a folder and returns a promise that resolves when the zip operation is complete.
The options for the zip operation.
The path to the folder to be zipped.
The path to the output zip file.
import { zipFolder } from "nsuite";await zipFolder({ pathFolder: "./dist", pathOutputFile: "./dist.zip",}); Copy
import { zipFolder } from "nsuite";await zipFolder({ pathFolder: "./dist", pathOutputFile: "./dist.zip",});
Zips a folder and returns a promise that resolves when the zip operation is complete.