Hey @prantikde,
I was able to reproduce the issue using your repo, however, I was not able to solve it. This seems to be an issue with react or the way it optimizes it’s build.
Like @grahaampeterson said, it works when enabling source maps.
Maybe this Stack Overflow will help:
I will talk to our Web SDK engineerings to see if this is the reason it is not working in a production build. (CS-1971)
Thanks,
Tommy