swc-node icon indicating copy to clipboard operation
swc-node copied to clipboard

`installSourceMapSupport` in `@swc-node/sourcemap-support` doesn't account for inline source maps

Open jasperlin451 opened this issue 8 months ago • 0 comments

https://www.npmjs.com/package/source-map-support#options

With inline source maps, the hookRequire parameter is required like:

require('source-map-support').install({
  hookRequire: true
});

jasperlin451 avatar Jun 24 '24 18:06 jasperlin451