Skip to content

Feature request: deep analysed annotations for cjs -> esm #2486

Closed
@simon300000

Description

@simon300000

Currently esbuild generate annotations for nodejs' cjs to esm lexer, which works well.

But if the input js file contains something like export * from 'package-x',
The exports of package-x is not in the annotation.

will it be possible for esbuild to read the exports of package-x and "re-emit" in the annotation of output file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions