Dan Van Brunt
10/26/2021, 9:07 PMpath.join(__dirname, './custom-resource')
this is equaling
/.build/lib/custom-resource
which is unexpected. I would have thought it would have been
/lib/constucts/ApiSite/custom-resource
I think its because the TS outputs are going into .build but not the adjacent custom-resource
folder wiht my lambda asset in it.
Although I see this being done quite frequently in the sst code.
How should we develop Constructs that we’d like to eventually publish to npm that require function assets like this?thdxr
10/26/2021, 9:13 PMthdxr
10/26/2021, 9:13 PMthdxr
10/26/2021, 9:14 PMDan Van Brunt
10/26/2021, 9:23 PMthdxr
10/26/2021, 10:19 PM