Releases: prate3k/chunk-restriction-plugin
Releases · prate3k/chunk-restriction-plugin
v1.2.0 🎉
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
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
v0.0.2 [deprecated]
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]
Readme text updated and adding prepublish script