'React app showing blank white screen after build and showing TypeError: Object(...) is not a function

React app working without any error or warning on development mode. but after build its not working its showing blank white screen. and when I opened console showing 2 error TypeError: Object(...) is not a function and Uncaught TypeError: Object(...) is not a function.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source