Skip to content

Commit 635905b

Browse files
committed
feat: add tsx support
1 parent c09bf70 commit 635905b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ var extensions = {
366366
'.ts': [
367367
'ts-node/register',
368368
'sucrase/register/ts',
369+
'tsx/dist/esm/index.cjs',
369370
{
370371
module: '@babel/register',
371372
register: function (hook, config) {
@@ -429,6 +430,7 @@ var extensions = {
429430
'.tsx': [
430431
'ts-node/register',
431432
'sucrase/register/tsx',
433+
'tsx/dist/esm/index.cjs',
432434
{
433435
module: '@babel/register',
434436
register: function (hook, config) {

0 commit comments

Comments
 (0)