-
Notifications
You must be signed in to change notification settings - Fork 55
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
Generate Source Map with sourcesContent #52
Comments
I want the bundle.js and bundle.map to end up in /Scripts/app My setup looks like this
The resultI get the files correctly in /Scripts/app and the reason for this is because I have the following in my module exports
However my bundle.js.map contains the following So when I load a page in chrome it tries to load the original js files like so Where it of course should have been I am unsure how to get it cooperate |
Hi,
in my case the sources of the concated files are outside the webroot. this causes that i can not follow the source file along in chrome when debugging. So afaik for this case, the source maps support the sourcesContent option (i found this https://stackoverflow.com/a/19803425)
currently i have
devtool: 'source-map'
and
new ConcatPlugin({
uglify: false,
sourceMap: true,
...
Can someone please give me a hint / what to do?
I am not shure how webpack-concat-plugin handles source map, so is it influences by devtools setting for other webpack source map plugins?
The text was updated successfully, but these errors were encountered: