About the display of webpack packing time

it has recently been found that projects created by vue-cli or create-react-app are packaged using webpack"s node.js api, so you can"t show how long it took to package at npm run build. After looking at the official website, I didn"t see any parameters to show the time. How is it generally counted? do you need to calculate it yourself?

Aug.13,2021

through the stats parameter in webpack, stats.endTime-stats.startTime means execution time


is that what it means? https://codeshelper.com/q/10.

Menu