Noob question alert: How do I add a package to lam...
# help
b
Noob question alert: How do I add a package to lambda function in SST? Does it go in the root package.json?
f
Can I see how you are creating the lambda functions in SST?
ie. are you setting a
srcPath
?
b
The are just in the /src dir
I'm using the the queue example project
f
Something like this?
Copy code
const queue = new sst.Queue(this, "Queue", {
      consumer: "src/consumer.main",
    });
If this is the case, then yeah add the package to the root
package.json
b
great thanks