Skip to content

Automatically enable tryNative for Deno #402

Description

@lucacasonato

Describe the feature

While investigating some performance traces in Deno today, I noticed a program spending 200ms loading jiti, mostly because of it's bundled babel dependency.

This is not great because jiti is not needed in Deno, as Deno already supports cjs/ESM interop, and TypeScript transpilation out of the box.

Could you use an export condition to just always alias jiti to jiti/native in Deno? The export condition is "deno".

Additional information

  • Would you be willing to help implement this feature?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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