Skip to content

Bug: Bundling with esbuild (format ESM) fails with version >=2.28 #4677

@grimmbraten

Description

@grimmbraten

Expected Behavior

It works as before (version 2.27).

Current Behavior

Compiled code with esbuild (format ESM) throws an error.

Code snippet

Reproducible repository available here: https://github.com/grimmbraten/powertools-logger-esm-support.

Steps to Reproduce

Follow the instructions in the reproducible repository.

Possible Solution

No response

Powertools for AWS Lambda (TypeScript) version

latest

AWS Lambda function runtime

20.x

Packaging format used

npm

Execution logs

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcompletedThis item is complete and has been merged/shippedtriageThis item has not been triaged by a maintainer, please wait

Type

No type

Projects

Status

Coming soon

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions