0.1.3 • Published 6 years ago
gzippalo v0.1.3
Gzippalo
A small wrapper around nodejs zlib and glob for gzipping the files
Installation
yarn add gzippalo --devUsage:
gzippalo({
pattern: '*.js?(.map)',
globOptions: {
cwd: `${__dirname}`,
},
});Options Types:
interface IOptions {
globOptions: glob.IOptions;
pattern?: string;
updateInline?: boolean;
destination?: string;
}Note: glob.IOptions is from @types/glob
globOptions takes all the parameters, which are accepted by glob
Pending:
Add support createGzip option forwarding