Fix UMD bundles, making safe to use as required modules (#7840)
Fix UMD bundles, making safe to use as required modules (#7840)

(cherry picked from commit 92c84a6f37245f4fbe3ce5dc50845856201637fa)

with-git/react,with-git/react,with-git/react,with-git/react,with-git/react,with-git/react,with-git/react