I updated webpack from 3 to 5 recently.
Before the update warnings and errors where related to the source map with the original source code. After the update only errors are pointing to the right source map webpack:///. The warnings keep pointing to to webpack-internal:///.
I currently use devtool: 'eval-cheap-module-source-map' for source map generation but i also tried many other methods with no success.
Error and Warning in the same file
So as you can see in the screenshot the error is pointing to the correct source map. The warning instead is using a different source map that does not help me so much with debugging.
It happend in chrome and firefox.