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
Modify source mapping object attribute 'sources' in map file #358
Comments
I would also like to be able to do this. The reason I have is that my source files are held in the main project 'Site/Scripts' and the files are generated into wwwroot/scripts/js path. The sourceMappingURL is correct as it looks like this at the bottom of the js file sourceMappingURL=filename.js.map but the map files sources looks like this {"version":3,"file":"filename.js","sources":["../../../Site/scripts/filename.js"] This then causes problems when I'm debugging as the source files don't exist. I would like the map sources to be pointing to the js files in the wwwroot/scripts/js folder. |
Is there any way of modifying the URL of included JS file path as 'sources' key of source map object in in map files?
The text was updated successfully, but these errors were encountered: