Problems of projects built by vue-cli under ie9

because if you don"t open the console under ie9, console.log will cause the page to get stuck
is there any solution for projects built with vue-cli that depend on console in the package source code

Apr.16,2022

new UglifyJsPlugin({
  uglifyOptions: {
    compress: {
      warnings: false,
      drop_console: true,//console
      pure_funcs: ['console.log']//console
    }
  },
  sourceMap: config.build.productionSourceMap,
  parallel: true
}),
Menu