https://blog.csdn.net/weixin_43473561/article/details/102816018
原因:ugluifyjs当前版本不符合项目预期(可能不能解析es6)
解决办法:yarn add uglifyjs-webpack-plugin@1(指定版本)