React 16 error on after build

Two confusing bits to this

  1. newer create-react-app webpack configs might be using TerserPlugin instead of UglifyJsPlugin
  2. using keep_fnames: true (which also applies to TerserPlugin) might not be enough to prevent mangling zoom sdk’s code. In my case I had to remove TerserPlugin alltogether and will need to look for an alternative or look into config options more deeply.