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