Browse Source

尝试解决苹果safari10白屏问题

feature/feature-compatible
nesxy 7 years ago
parent
commit
e48b829d75
1 changed files with 4 additions and 0 deletions
  1. 4
      build/webpack.prod.conf.js

4
build/webpack.prod.conf.js

@ -33,6 +33,10 @@ var webpackConfig = merge(baseWebpackConfig, {
compress: {
warnings: false
},
// 处理 IOS10 白屏
mangle: {
safari10: true
},
sourceMap: true
}),
// extract css into its own file

Loading…
Cancel
Save