Skip to content

Compile to JavaScript and drop runtime dependency on tsx #850

@mbostock

Description

@mbostock

I love tsx during development, but I think we should compile to JavaScript on publish and drop the runtime dependency. This would allow us to support Node 18+ instead of requiring Node 20.6+, and it would fix confusing errors such as #847. It would just be “fewer moving parts” and more robust, and it shouldn’t be too technically challenging to run esbuild or tsc or whatever on publish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions