I have a CRA project that runs fine when i use react-scripts start in development. But once I build react-scripts build and then serve these files, I get this error
Uncaught TypeError: Cannot read property 'call' of undefined

I dont have any custom webpack config. I've tried to comment large areas of source code, and I still get this error trying to serve the build files.
Thanks for any help!
config.optimization.minimize = falsein webpack.config.js to disable the obfuscating function, it should very helpful for debugging, though from your screenshot I am not able to point out whether it is a logic problem or syntax problem.