react-boilerplate
react-boilerplate copied to clipboard
Richard what's your recommended devtool to get line mappings on the server?
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.
@faceyspacey I've used 'source-map' in the webpack-hot-server-middleware
example and 'eval' in this boilerplate, both are working for me.
Not tried with the latest Webpack however, is this still an issue for you?
Also, 'inline-cheap-module-source-map' should work -- https://github.com/60frames/webpack-hot-server-middleware/pull/15