sindresorhus / gulp-size

Display the size of your project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show raw and gzip size?

pkozlowski-opensource opened this issue · comments

@sindresorhus what do you think of making the gzip option additive so the plugin could show both the initial file size and gzip-ed file size? So the option could be like:

size: {
  raw: true,
  gzip: true
}

or simply we could solve this by introducing another option raw / initial or sth along those line. Then of course the output would have to change.

WDYT?

Duplicate of #12. Displaying both isn't very practically useful. gzip is only an option as it will make the build a tiny bit slower, otherwise it would have been the default with no option.