mirror of
https://github.com/Xevion/schedule-extract.git
synced 2025-12-06 11:16:19 -06:00
Switch to NodeNext ESM modules
This commit is contained in:
@@ -7,8 +7,9 @@
|
||||
"author": "Xevion",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "ts-node ./index.ts"
|
||||
"test": "ts-node-esm ./index.ts"
|
||||
},
|
||||
"type": "module",
|
||||
"compilerOptions": {
|
||||
"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