@cspell/cspell-tools
Version:
Tools to assist with the development of cSpell
10 lines • 329 B
JavaScript
import { globP } from '../util/globP.js';
import { compressFile } from './compressFiles.js';
// cspell:ignore nodir
export async function gzip(globs, os) {
const files = await globP(globs, { nodir: true });
for (const fileName of files) {
await compressFile(fileName, os);
}
}
//# sourceMappingURL=gzip.js.map