recorder
recorder copied to clipboard
可添加打包代码以保证ie浏览器不报错
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
//////
optimization: {
minimizer: [
new UglifyJsPlugin({
exclude: /node_modules/,
uglifyOptions: {
ie8: true // 解决ie下的关键字default的问题
}
})
]
},