GZipBuilder
File compressor for distribution.
Builder specific Options
None
Notes
watch need to be disabled if you do not want to compress the file whenever you make changes. To disable watch, BuildConfig.watch should be set to empty array. Or, BuildConfig.src would be watched.
See example below.
Example
const zip = {
name: 'zip',
builder: 'GZipBuilder',
src: [
upath.join(destRoot, '**/*'),
upath.join(srcRoot, 'zip-me-too/**/*')
],
dest: '_dist',
outFile: 'primitives.zip',
watch: [] // disable watch by setting 'watch' list to empty array
};