TraceKit icon indicating copy to clipboard operation
TraceKit copied to clipboard

Add support for source maps?

Open Aeon opened this issue 9 years ago • 13 comments

Cloning over from https://github.com/occ/TraceKit/issues/61:


Adding support for getting cleaner stack traces from minified JS files via source maps would be pretty amazing.

Can leverage mozilla/source-map project for decomposing sources in ES5-compliant browsers

Aeon avatar Aug 13 '15 07:08 Aeon

Yes, I would like this to be a plugin so those who need it can buy into it. This is something we will be working on in the near future. I'd also like source maps. The last time I looked into it, they only supported amd, is this still the case?

niemyjski avatar Aug 13 '15 15:08 niemyjski

Inspiration https://github.com/stacktracejs/stacktrace-gps

auchenberg avatar Sep 18 '15 09:09 auchenberg

Yes, I really really want this and could use this sooner than later. I need to start working on the plugin system. I want to have source maps be an optional plugin because mozilla source maps is huge (30KB).

niemyjski avatar Sep 18 '15 16:09 niemyjski

:+1: from https://github.com/jquery/qunit/issues/590

mightyiam avatar Sep 22 '15 12:09 mightyiam

Was there any further progress with this? Source maps would be incredibly useful. I'm happy to take a stab at a possible implementation if nobody else has a viable one yet?

davidomid avatar May 06 '16 19:05 davidomid

We were trying to change up tracekit to be more plugable by that effort stalled a bit. If you want to take a stab at this I'd be more than happy to work with you. It just needs to be optional as the source map lib is an extra 30KB

niemyjski avatar May 06 '16 20:05 niemyjski

Can I take this up? I've already created a plugin for the same.

vivekmarakana avatar Nov 15 '16 06:11 vivekmarakana

yeah, please do! It would be greatly appreciated

niemyjski avatar Nov 15 '16 15:11 niemyjski

Great. will open a pull request soon.

vivekmarakana avatar Nov 16 '16 07:11 vivekmarakana

Hey @vivekmarakana. How is it going ?

ncoden avatar Aug 03 '17 12:08 ncoden

Any news on this ?

adrienbu avatar Apr 26 '18 13:04 adrienbu

I haven't heard anything on this. Would you mind jumping in and submit a pr for this.

niemyjski avatar Apr 26 '18 13:04 niemyjski

I'll have a try but I cannot promise anything !

adrienbu avatar May 02 '18 07:05 adrienbu