nativescript-dev-webpack icon indicating copy to clipboard operation
nativescript-dev-webpack copied to clipboard

snapshot && sourcemap

Open farfromrefug opened this issue 6 years ago • 1 comments

Is it possible to use sourcemap with snapshot?

Right now when i use snaphsot a _embedded_script_.js script is generated. However i don't see an associated sourcemap. Also here i don't see any mention of the sourcemap. Would be good for one to be generated. The idea is to be able to retreive it with source-map-support

Another not. When i get an error within _embedded_script_.js the source-map-support retrieveSourceMap method is called with <embedded> and not _embedded_script_.js which will make the map retrieval fail. Any reason for that?

farfromrefug avatar Aug 19 '19 16:08 farfromrefug

We really need source maps for this. Otherwise i consider this as a security breach, whats inside in this embedded_script.js ?

saschaarthur avatar Apr 08 '20 14:04 saschaarthur