Releases: GoogleChromeLabs/size-plugin
Releases · GoogleChromeLabs/size-plugin
3.0.0
29 Jan 17:03
Compare
Sorry, something went wrong.
No results found
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)
2.0.2
29 Jan 17:00
Compare
Sorry, something went wrong.
No results found
This is a patch release to address several warnings about "vulnerable dependencies" (none of which were actually in use).
2.0.1
18 Oct 14:09
Compare
Sorry, something went wrong.
No results found
Fixes size-plugin.json being written to disk even though writeFile is set to false (#28 , #30 )
2.0.0
22 Aug 19:05
Compare
Sorry, something went wrong.
No results found
1.2.0
22 Aug 19:03
Compare
Sorry, something went wrong.
No results found
Adds support for pluggable output decoration via two new configuration options: options.decorateItem(Item) and options.decorateAfter(Data):
Item
name string Filename of the item
sizeBefore number Previous size, in kilobytes
size number Current size, in kilobytes
sizeText string Formatted current size
delta number Difference from previous size, in kilobytes
deltaText string Formatted size delta
msg string Full item's default message
color string The item's default CLI color
Data
sizes Array <Item > List of file size items
output string Current buffered output
1.1.4
15 Mar 23:27
Compare
Sorry, something went wrong.
No results found
Fix an error in recent versions of Webpack 4 ("only size() is available")
1.1.3
15 Mar 22:52
Compare
Sorry, something went wrong.
No results found
Wait one tick before printing sizes to prevent sizes from being cleared or buried in logs.
1.1.2
15 Mar 22:51
Compare
Sorry, something went wrong.
No results found
Outputting format tweak: always separate size-plugin output from preceding logs using a newline. (thanks @Djaler !)
1.1.1
11 Dec 16:45
Compare
Sorry, something went wrong.
No results found
Support webpack versions back to 1.x
Add support for [chunkhash]
1.1.0
06 Dec 16:09
Compare
Sorry, something went wrong.
No results found
Now backwards-compatible with Webpack 3! (#13 , thanks @samundrak !)
Partial support for output.filename being a function. (#18 )