We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Imagine the case when developer wants to debug his library and tests within browser and chrome dev tools.
So… is there a way to enable source-maps for tests and source code?
For now it looks like this
The text was updated successfully, but these errors were encountered:
@Den-dp i am working on a new version with webpack 2.0, to enable source-maps you need add to webpack.karma.js
webpack.karma.js
... module.exports = { ... devtool: "source-map", // about webpack dev tools you can read on https://webpack.github.io/docs/configuration.html ... }; ...
Thanks.
Sorry, something went wrong.
@mr47 devtool: "source-map", right.
devtool: "source-map"
The problem is with current setup this option (devtool: "source-map") will not work at all.
(Look for 404 in console)
Actually even devtool: "inline-source-map" will not work as well, becuase of code-coverage thing
devtool: "inline-source-map"
In general, I think that sourcemaps for debugging are a must have feature which should be available out of the box for such project as opensource-kit.
So, if it all makes sense for you then we may label this issue as feature request/enhancement. Who knows, maybe with webpack2 things will go smoother.
Thnaks
No branches or pull requests
Imagine the case when developer wants to debug his library and tests within browser and chrome dev tools.
So… is there a way to enable source-maps for tests and source code?
For now it looks like this

The text was updated successfully, but these errors were encountered: