Skip to content

Feature request: Add support for ES Modules with esbuild. #426

@santiperone

Description

@santiperone

Describe your idea/feature/enhancement

Currently, when trying to use ES modules features (as described in https://aws.amazon.com/es/blogs/compute/using-node-js-es-modules-and-top-level-await-in-aws-lambda/) together with esbuild, some errors are thrown because the default output format for esbuild is .cjs, which doesn't support those.

Proposal

Add some option to change the output format to .mjs (maybe it could even be the default value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions