webpack 打包报 ERROR in static/js/vendor.2eff2b5a1d36f4b7f033.js from UglifyJs
老版本的webpack打包报ERROR in static/js/vendor.2eff2b5a1d36f4b7f033.js from UglifyJs
原因是因为 UglifyJs需要识别es5
根据报错内容为:./node_modules/asn1.js/lib/asn1/base/node.js:
在webpack.base.conf上添加如图