We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Array-Huang build后在ie8运行会报错
解决方法: plugins.product.config.js文件中 pluginsConfig.push(new webpack.optimize.UglifyJsPlugin({ compress: { screw_ie8: false,//默认true,不支持ie8 warnings: false, }, }));
The text was updated successfully, but these errors were encountered:
6666666
Sorry, something went wrong.
谢谢意见,不过我想问一下这screw_ie8参数你是在哪看到的?我查官方文档里怎么是ie8?
screw_ie8
ie8
在这里看到的 http://www.css88.com/doc/webpack2/guides/production-build/ UglifyJsPlugin插件最新的配置为 pluginsConfig.push(new webpack.optimize.UglifyJsPlugin({ compress: { properties: false, screw_ie8: true }, output: { beautify: true, quote_keys: true }, mangle: { screw_ie8: false, keep_fnames: true }, comments: false }));
No branches or pull requests
@Array-Huang
build后在ie8运行会报错
解决方法:
plugins.product.config.js文件中
pluginsConfig.push(new webpack.optimize.UglifyJsPlugin({
compress: {
screw_ie8: false,//默认true,不支持ie8
warnings: false,
},
}));
The text was updated successfully, but these errors were encountered: