Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function code deployment and local are different. #3702

Open
VanThanh12195 opened this issue Mar 11, 2024 · 1 comment
Open

Function code deployment and local are different. #3702

VanThanh12195 opened this issue Mar 11, 2024 · 1 comment

Comments

@VanThanh12195
Copy link

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?

@jayair
Copy link
Contributor

jayair commented Mar 12, 2024

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

Was there an issue you ran into?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants