artberri / rollup-plugin-istanbul

Seamless integration between Rollup and Istanbul
MIT License
43 stars 10 forks source link

Add origin source mappings #25

Closed artberri closed 2 years ago

artberri commented 3 years ago

Description

Add origin source mappings.

Related Issue

Possible fix for the issue described in #24

How Has This Been Tested?

Examples modified.

berndfuhrmann commented 3 years ago

Hi artberri, I just tested this PR (effectively the change in src/index.js). and it works perfectly for me. I also had to instrument code after it goes through Svelte. It be wonderful if this PR could land soon and a new version could come out. Is there anything I can do to help?

Aeolun commented 2 years ago

This thing is really quite necessary. I've now just made my own copy, since it's basically a one file thing, but this package name is the place everyone will go looking for rollup istanbul sourcemaps.

artberri commented 2 years ago

Closing this PR because this will be fix in the next version with this commit: https://github.com/artberri/rollup-plugin-istanbul/commit/d73e02b8d9ff55b8856a4374d9cbfb6d1a2439c5