https://serverless-stack.com/ logo
#sst
Title
# sst
m

Mischa Spiegelmock

12/28/2021, 12:47 PM
is it possible to get esbuild to emit a “metafile” for my function? (like this)
t

thdxr

12/28/2021, 1:53 PM
We use this feature internally. We can expose it as an option, how would you like to configure it
m

Mischa Spiegelmock

12/28/2021, 3:05 PM
This is what I use with NodejsFunction
t

thdxr

12/28/2021, 4:53 PM
Sorry I meant where do you want the metafile to go
m

Mischa Spiegelmock

12/28/2021, 4:55 PM
oh sorry. maybe in .build? CDK NodejsFunction puts it in the same folder as the sourcemap output which is the function package, which is pretty straightforward although adds to the zip file sizes
t

thdxr

12/28/2021, 4:56 PM
https://github.com/serverless-stack/serverless-stack/issues/1189 - I'm still mostly working on SST console stuff but hoping in the new year I can get back to these small feature reqs
m

Mischa Spiegelmock

12/28/2021, 4:56 PM
gotcha thanks for all the work you’re doing