Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure more extensions as the JavaScript engine #2249

Closed
wants to merge 1 commit into from
Closed

Configure more extensions as the JavaScript engine #2249

wants to merge 1 commit into from

Conversation

pspeter3
Copy link

Allow users to treat JSX, TS, and TSX files as the JavaScript engine.

#2248

This is based on the comment from #577 (comment)

Allow users to treat JSX, TS, and TSX files as the JavaScript engine.

#2248

This is based on the comment from #577 (comment)
@pspeter3
Copy link
Author

This is actually the wrong implementation. I just tested it locally and have a different version.

@pspeter3 pspeter3 closed this Mar 16, 2022
pspeter3 added a commit to pspeter3/eleventy-1 that referenced this pull request Mar 16, 2022
Allow more extensions to be treated at the `11ty.js` template engine. This builds on the work of 11ty#2249 and solves 11ty#2248. A user could run Eleventy via `ts-node` or `esbuild-register` and have the appropriate behavior now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant