RFC: webpack/webpack#3216
The current POC is available in the following branch (huuuge thanks to Sean):
https://github.com/webpack/webpack/tree/feature/custom_stats
A demo app for trying it out on can be found here:
https://github.com/TheLarkInn/budgeting-sample-app-webpack2
You'll want to update the package.json to point to that version of Webpack. I would just use:
"webpack": "git://github.com/webpack/webpack.git#feature/custom_stats",
Once you npm install
to grab this version, you should be able to just run webpack
and see the new output.
If you'd like to configure the performance insights feature, this is supported using the performance
object:
performance: {
maxAssetSize: 100,
maxInitialChunkSize: 300,
hints: true
},
Please note: this is a super early POC. The UX is not final at all and we welcome your feedback ❤️