Skip to content

Small project to demo an issue with top level await when using AWS Sam CLI and esbuild

Notifications You must be signed in to change notification settings

MattBidewell/sam-cli-esbuild-top-level-await

Repository files navigation

sam-cli-esbuild-top-level-await

Small project to demo an issue with top level await when using AWS Sam CLI and esbuild

Problem

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")

Replcate

With the AWS Sam CLI installed run sam build -t template.yaml.

About

Small project to demo an issue with top level await when using AWS Sam CLI and esbuild

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published