Closed endiliey closed 5 years ago
Since we only need assets from webpack stats.toJson(), we can pass 'forToString` option in https://github.com/webpack/webpack/blob/42407cb5616aff940935cb58a4fda8429140c122/lib/Stats.js#L104 to skip heavy resource webpack stats
This shall reduce memory usage and improve performance
This looks great. Thanks for the contribution!
@johnagan could we get a release at your earliest convenience?
Summary
Since we only need assets from webpack stats.toJson(), we can pass 'forToString` option in https://github.com/webpack/webpack/blob/42407cb5616aff940935cb58a4fda8429140c122/lib/Stats.js#L104 to skip heavy resource webpack stats
This shall reduce memory usage and improve performance
Test Plan