Open TooTallNate opened 11 years ago
Can Node use source maps for modules that are require
d?
Not out-of-the-box: https://github.com/joyent/node/issues/3712
But Mozilla's maybe: https://github.com/mozilla/source-map (https://hacks.mozilla.org/2013/05/compiling-to-javascript-and-debugging-with-source-maps/)
Or perhaps: https://github.com/evanw/node-source-map-support (http://badassjs.com/post/42588937391/node-js-source-map-support-for-better-compiled)
Is there a way to read the compiled source when using gnode programmatically?
Understandably... need to wait for regenerator source maps or something I guess...