I am using loglevel in my React app along with loglevel-plugin-remote and when I do log.error() I get filename and line number as chunk.js in the stack trace in my log server, but in the browser console, I get the proper filename with proper line number.
Example:
2020-11-11T13:22:09.140Z: ERROR: Custom Error
at http://localhost:3000/static/js/main.chunk.js:9130:55
Can you please tell me how I can know/get the actual file name and line number ? Thanks.
I am using loglevel in my React app along with loglevel-plugin-remote and when I do log.error() I get filename and line number as chunk.js in the stack trace in my log server, but in the browser console, I get the proper filename with proper line number. Example:
Can you please tell me how I can know/get the actual file name and line number ? Thanks.