register icon indicating copy to clipboard operation
register copied to clipboard

source maps not applied on stack traces

Open idan-at opened this issue 4 years ago • 5 comments

Hey,

I'm trying to use this library as a replacement for @babel/register.

I've encountered an issue where source maps are not applied on stack traces (reproducing repository).

Can you please assist?

Thanks.

idan-at avatar May 23 '21 07:05 idan-at

@kdy1 Is this repo still maintained and should be used for swc runtime registration? or there's a new replacement?

If this is the one, can you please take a look at the issue?

Thanks.

idan-at avatar Jul 06 '21 12:07 idan-at

I'll do so when I have some time

kdy1 avatar Jul 07 '21 10:07 kdy1

Thank you.

I'd be happy to contribute, if you can point me a bit. I was having a hard time writing a failing test due to jest overriding require

idan-at avatar Jul 07 '21 11:07 idan-at

@kdy1 I just checked my reproducing example again, and it seems like it was resolved. thank you 🙏

idan-at avatar Jul 26 '21 07:07 idan-at

@kdy1 I'm sorry for tagging you again.

I just saw the error also happens when using the sourceMaps: "inline" property (instead of sourceMaps: true). Is there a chance you can take a look / point me a bit so I can help fixing it?

Thanks.

idan-at avatar Aug 19 '21 11:08 idan-at