Use esm for ts-node (#2459)

* Use esm for ts-node

* Add esm flag

* Change tsconfig properties

* Use tsx rather than ts-node

* Use tsx

* Remove ts-node
This commit is contained in:
Dolan
2023-12-22 01:10:54 +00:00
committed by GitHub
parent 8744e613ac
commit d04c42cbe8
9 changed files with 763 additions and 350 deletions

View File

@ -35,14 +35,5 @@
"@shared": ["./shared/index.ts"]
}
},
"ts-node": {
"esm": true,
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
}
},
"include": ["src"]
}