Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@developit developit released this 29 Jan 17:03
· 1 commit to master since this release
cc61db7
  • Add TypeScript definition (#39)
  • Add custom "mode" option for Webpack 3 (#32)
  • Display output later to ensure it comes after webpack logging (#4)

New: compression option to switch between gzip, brotli and none: (#23)

new SizePlugin({ compression: 'gzip' })  // use gzip (still the default)

new SizePlugin({ compression: 'none' })  // show uncompressed sizes + deltas

new SizePlugin({ compression: 'brotli' })  // show Brotli-compressed sizes + deltas (requires Node 12)