sst / sst

Build modern full-stack applications on AWS

Home Page:https://sst.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function code deployment and local are different.

VanThanh12195 opened this issue · comments

I have a question about deployment. The code I write in local is different in deployment. Although they have the same functionlity. Images are attached for clarify:

In local (VS code):
image

In AWS Lambda after run "npx sst deploy"
image

How can I keep the code for both local and deployment stay the same?

commented

This is adding top level await to support https://docs.sst.dev/resource-binding

Was there an issue you ran into?