UglifyJs reported an error during npm run build

as shown in the picture, the following error is reported when packing, the reason is unknown!

ERROR in static/js/vendor.c6cf6d8258be562986f2.js from UglifyJs

Mar.02,2021
Is it configured under the

webpack.base.conf.js file?


is because there is a useless elmentUI component in the import in the component. It will be fine after the comment.


you can't see that it is caused by ElementUI, but generally speaking, there are packaging dependencies in vendor files, and basically, node_modules, is generally compressed, so you can consider adding `exclude: / node_modules/ to the configuration file to avoid further compression.

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-1beaf1f-31a31.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-1beaf1f-31a31.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?