Skip to content

Allow Custom templates to alias to an existing template engine (JSX, TS, TSX templates in Eleventy) #2248

@pspeter3

Description

@pspeter3

Is your feature request related to a problem? Please describe.
Allow users to run eleventy through Babel, TypeScript, ESBuild, or others without registering a custom template engine.

Describe the solution you'd like
Add 11ty.js, 11ty.ts, and 11ty.tsx to the TemplateEngineManager. https://github.com/11ty/eleventy/blob/master/src/TemplateEngineManager.js#L26.

Describe alternatives you've considered
Allow users to add entries to the extension map. This would also work just fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions