Small project to demo an issue with top level await when using AWS Sam CLI and esbuild
I would like to use the NodeJS top level await feature with AWS Sam and esbuild. A esbuild complimation error of Top-level await is not avaliable in the configure target environment ("es2020")
With the AWS Sam CLI installed run sam build -t template.yaml
.