How to add an explicit timestamp to a file by webpack

I want to add a line of comments to the result file through webpack packaging. The comment content is the packing time, for example:

clipboard.png

I looked around but couldn"t find it.

Note that doesn"t need a hash value, just want to open the file and know exactly when the file was packaged .

Mar.07,2021

new webpack.BannerPlugin(new Date().toString())
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-1e41d00-4495d.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-1e41d00-4495d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?