src/utils/private.js
function zipFile(zip, ffs, root, dir, file) {
    dir = dir || '';
    let zipfolder = dir ? zip.folder(dir) : zip;
    const data = ffs.readFileSync(root + (dir ? '/' + dir : '') + '/' + file);
    zipfolder.file(file, data);
}
function zipFile(zip, ffs, root, dir, file) {
    dir = dir || '';
    let zipfolder = dir ? zip.folder(dir) : zip;
    const data = ffs.readFileSync(root + (dir ? '/' + dir : '') + '/' + file);
    zipfolder.file(file, data);
}
function zipFile ( zip , ffs , root , dir , file ) { dir = dir || '' ; let zipfolder = dir ? zip . folder ( dir ) : zip ; const data = ffs . readFileSync ( root + ( dir ? '/' + dir : '' ) + '/' + file ) ; zipfolder . file ( file , data ) ; }
PRIVATE Zip File
PRIVATE Zip File