Skip to content

Commit

Permalink
feat: add tsx support
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Nov 18, 2023
1 parent c09bf70 commit 635905b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ var extensions = {
'.ts': [
'ts-node/register',
'sucrase/register/ts',
'tsx/dist/esm/index.cjs',
{
module: '@babel/register',
register: function (hook, config) {
Expand Down Expand Up @@ -429,6 +430,7 @@ var extensions = {
'.tsx': [
'ts-node/register',
'sucrase/register/tsx',
'tsx/dist/esm/index.cjs',
{
module: '@babel/register',
register: function (hook, config) {
Expand Down

0 comments on commit 635905b

Please sign in to comment.