Occasionally I have errors and the routing of the error shows into the compiled file and not the uncomplicated file. for example:
react-jsx-dev-runtime.development.js:117 Warning: Each child in a list should have a unique "key" prop.
Check the render method of Container.
See https://reactjs.org/link/warning-keys for more information.
at Test
(http://localhost:3000/static/js/bundle.js:4874:5)
instead of
at Test
(src/components/Edit.tsx).
Is there any way to config it so i can see the exact problem line & routing?
try to change devtool in your webpack config:
devtool: 'cheap-module-source-map',