Webpack 4 packaging failed

when I use webpack4 again, when there is

in my file
import moment from "moment"
When

this line of code, the package fails:

clipboard.png

but when I put the moment package in webpack vendors, the package was successful. What is the reason for this? Find the solution

Feb.28,2021
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-1e97667-68dc5.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-1e97667-68dc5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?