Skip to content

Support TypeScript assets #925

Open
Open
@musjj

Description

@musjj

It would be nice if Trunk can automatically compile TypeScript to JavaScript, so that they can be inlined. Currently, the following:

<link data-trunk rel="inline" href="index.ts" />

Will cause an error:

unknown `type="ts"` value for <link data-trunk rel="inline" .../> attr; please ensure the value is lowercase and is a supported content type

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions