I deployed an Angular app with production build. When an error occurs I log it so can I check that the next day. The log shows the error stack in the minified production build:
/main.*****.js:1:7466
As I have no chance to reproduce it in the browser so I cannot use the sourcemaps in the browser. I want to write a script where I can paste this error stack and it finds out where it occurs in the code.
Is this possible and yes, which is the correct approach?