Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lambda-js: Add note about esbuild module exports
This change adds a short blurb about requirements for users who are using esbuild. As discussed in aws-observability/aws-otel-lambda#99 there is a quirk of esbuild that causes exported functions using the `export` keyword to be marked immutable in the transpiled JS. As a result, you must use `module.exports` instead, which is passed along by the esbuild transpilation process unscathed.
- Loading branch information