Open Manish3323 opened 3 years ago
You need to turn on source maps in snowpack so that the files can be mapped back to their original paths. However there are some snowpack plugins, like Svelte, which create broken source maps.
The sourcemap
config in snowpack is still in experimental. i guess this would get fixed automatically, once it is stable. i will have to wait till then.. Thanks for replying!!
Snowpack's doc for source map
I'll keep this issue open till then, if u have no issues with it.
As web test runner uses istanbul to lookup for source file. after generating the coverage results.. i am unable to view the coverage report as the files are being served via in-memory location
_dist_
folder (snowpack serve's it from there on dev mode).. however istanbul expects the file to be present onfs
. Hopefully, the following Screenshot explains what i am trying to say.