Replies: 1 comment
-
the same question how to properly way to modify the handler produced by the "aws-lambda" preset.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my Nuxt 3 app's
nuxt.config.ts
I have nitro.preset as "aws-lambda". When runningnuxt build
this produces the handler at.output/server/index.handler
which I've added to myserverless.yml
file per the directions.I would like, however, to modify the handler so that I can incorporate "serverless-plugin-warmup" as described.
Seems like I just need to set up a different handler (and point my
serverless.yml
at that one instead) that passes the event and context off to the one generated by nitro, something like:If that's the case, then where would I create this file?
And if this is not the case, is there another way to modify the handler produced by the "aws-lambda" nitro preset?
Beta Was this translation helpful? Give feedback.
All reactions