Serverless SSR - how to select the correct handler #15920
Unanswered
tonyskulk
asked this question in
CLI - SSR mode
Replies: 1 comment
-
Seems like the combination of SSR + serverless is not often used in the community. |
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
-
Hi, I have a quasar 2 ssr app. I want to use serverless and have already updated the src-ssr/server.js like in the documentation:
After I built with quasar build -m ssr everything is packed in the dist/ssr folder. I yarn installed there and then added a serverless.yml in the root folder of the quasar app like this:
After running serverless deploy everything gets deployed to aws lambda, but in the logs I can see that the handler dist/ssr/index.handler could not be found. The dist/ssr/index.js is minified and uglified, so it is very hard to read anything in there.
What is the correct handler reference that I have to put in the serverless.yml or is my src-ssr/server.js configuration not correct?
Beta Was this translation helpful? Give feedback.
All reactions