React 18. Webpack minified file in error stack trace instead of source code file

cstsiushkevich
2023-03-06T13:28:23Z

Hello!

After an upgrade to React 18 and react-scripts I got unreadable error stacktrace each time when I get en error in my app:

![image](/uploads/6a739ff8690cf34f0cfd61e685c8585a/223123062-27dbb3d9-9b8d-4728-ae71-5d11cfdb2ffa.png)

When I want to go to a file, I have this:

![image](/uploads/0cdd47919d73b32b7158a39b28c194dc/223123241-2d9f9821-c326-47a2-8edd-8367496c52c7.png)

I cannot detect my issues anymore using stacktrace.