now working with https://github.com/benmccallum/AspNetBundling and st…#20
now working with https://github.com/benmccallum/AspNetBundling and st…#20arins wants to merge 1 commit intonovocaine:masterfrom arins:master
Conversation
…ill working with relative paths
|
Sorry, I don't quite understand what behaviour you are trying to fix - are you able to explain it a bit more? "/hello/thisismymap" will be treated as a relative path before and after your change because the lookahead |
|
I will show you an example where it is working and one case where it is not working. Here is an example where we use webpack and it actually is working great. That's because the sourcemap URL is relative to the js file. Second example here which is not working. This is using the sourcemap location which is sort of absolute but without domain and protocol. this makes the if branch at line 140 true because of and causes the URL for the sorucemap to be: https://desktop-rhvpai8.symbrio.com/symbrio_main/bundles//symbrio_main/bundles/symapp-ordermap this is wrong the actual sorcemap is located in With my fix this ignores these kind of URLs and just feteches the absolute URLs. |


If you have a path like /hello/thisismymap then this pullrequest fixes so that it will be handled as well.