mirror of
https://github.com/Xevion/schedule-extract.git
synced 2025-12-06 01:16:15 -06:00
Switch to NodeNext ESM modules
This commit is contained in:
@@ -7,8 +7,9 @@
|
|||||||
"author": "Xevion",
|
"author": "Xevion",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "ts-node ./index.ts"
|
"test": "ts-node-esm ./index.ts"
|
||||||
},
|
},
|
||||||
|
"type": "module",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true
|
||||||
},
|
},
|
||||||
|
|||||||
8
tsconfig.json
Normal file
8
tsconfig.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"module": "NodeNext",
|
||||||
|
"target": "ESNext",
|
||||||
|
"moduleResolution": "NodeNext"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user