evanw / node-source-map-support

Adds source map support to node.js (for stack traces)
MIT License
2.16k stars 222 forks source link

Source-map needs to be updated to 0.8.0-beta.0 #314

Open RDIL opened 2 years ago

RDIL commented 2 years ago

See https://github.com/terser/terser/pull/1164 for reasoning. This breaks Node.js v18.

cspotcode commented 2 years ago

In the interim, [@cspotcode/source-map-support]() may work as a drop-in replacement. I'm not 100% sure, but I checked the code and I don't think it has the fetch check. Might not work if you need browser support.