Came across <this> thread just now. Interesting th...
# random
r
Came across this thread just now. Interesting that source maps had a big performance impact and that there’s an open issue in the V8 engine about it. Anyone using this instead of the --enable-source-maps flag?
a
I use this plugin because when i set the flag to true in serverless it doesnt work
t
We're likely going to build this into sst. This reflects the same research I did
r
So I was originally using
node-source-map-support
and swapped over to the
NODE_OPTIONS
I thought we were messing with something and found this wasn't as big of a hit. Is it recommended to swap back to the registering the package myself? Or maybe just hold out until this is built in?
t
In my testing it's only slow when an exception is thrown (includes when it's caught)
So it's not critical so I'd wait until it's built in