NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

snapshot && sourcemap #1026

Open farfromrefug opened 5 years ago

farfromrefug commented 5 years ago

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?

saschaarthur commented 4 years ago

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