Time display problems in webpack Packaging

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?

Jul.16,2021

this is the scaffolding that performs operations on webpack
startTime and endTime to display the results.
can log the successful parameters.

success parameter stats

...
  hash: 'd6d055804f445af7f9fc',
  startTime: 1537958606459,
  endTime: 1537958626863 } 

webpack packaging shows how long it took

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bda859-31201.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bda859-31201.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?