Skip to content

Releases: prate3k/chunk-restriction-plugin

v1.2.0 🎉

19 Feb 12:35
Compare
Choose a tag to compare

New options added

  • safeSizeDifference
  • logSafeChunks

[Important] Options removed

  • logMessageFormat
  • defaultLogMessageFormat

Improvements

  • Reports error/warning in readable manner
  • Option logSafeChunks to log chunks who are within its set restriction.
  • Option safeSizeDifference to specify the delta size. Useful to report chunks whose size is near its define restriction.

Bug Fixes

  • Throw exception when options or restrictions are not specified.

v1.0.1

18 Oct 15:42
325ce9b
Compare
Choose a tag to compare

Improvements :

  • Groups log messages
  • Throwing warning if any specific chunk name's js/css chunk restriction is specified but its not present.
  • jsSize/cssSize, if no unit is specified, by default considering it as bytes.

Bug Fix :

  • Throwing warning/error when specified chunk name is not present (previously it was breaking the code)
  • Fixing regex check for jsSize/cssSize attributes

v1.0.0

16 Oct 08:51
Compare
Choose a tag to compare

Bug Fix

  • Ignore cssSize/jsSize attribute if its not specified

v0.0.2 [deprecated]

15 Oct 12:15
5b6a873
Compare
Choose a tag to compare

Improvements :

  • Added support for customizing log message format
  • Added support for specifying human readable size unit in restriction for better readability and ease of use

Bug Fix :

  • Fixes chunk size calculation issue, which was happening when UglifyJSPlugin is being used

Initial release (v0.0.1) [deprecated]

03 Oct 13:33
Compare
Choose a tag to compare
Readme text updated and adding prepublish script