Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Richard what's your recommended devtool to get line mappings on the server? #98

Open
faceyspacey opened this issue Jun 18, 2017 · 2 comments

Comments

@faceyspacey
Copy link

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.

@richardscarrott
Copy link
Member

@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?

@richardscarrott
Copy link
Member

richardscarrott commented Jun 20, 2017

Also, 'inline-cheap-module-source-map' should work -- 60frames/webpack-hot-server-middleware#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants