register icon indicating copy to clipboard operation
register copied to clipboard

Default source map as `inline` makes source maps useless

Open vjpr opened this issue 4 years ago • 0 comments

https://github.com/swc-project/register/blob/377bad1f81cc590b95cb207c0524e95718b4e065/src/node.ts#L64

source-map-support doesn't seem to work with inline maps (needs a require hook - https://github.com/evanw/node-source-map-support#options). To get accurate maps, it needs to be true in swc.

vjpr avatar Sep 25 '21 00:09 vjpr