I used to have this working for me, but no matter which devtool option I try, none are correctly mapping lines currently.
You'd hope 'cheap-module-eval-source-map' was the answer. But all options except eval generate line numbers corresponding to a line in the entire main.js file (for example).
eval at least gets the file correct.
I'm using the latest version of Webpack.