node-source-map-support
node-source-map-support copied to clipboard
Better Electron Support
Thanks to https://github.com/evanw/node-source-map-support/pull/79 this supports Electron already (an environment where we are both in a "browser" and in "node").
It might be good to do the same logic here, so that fs is used when possible rather than synchronous XHR (which is deprecated anyways):
https://github.com/evanw/node-source-map-support/blob/70c54a8ab65103f307558a901299b998d1bb45c7/source-map-support.js#L63-L76
Good idea :)
PR are welcome :p
https://github.com/evanw/node-source-map-support/pull/140