该死的node 20
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
|
||||
import { testRankingListRequest } from "./testRankingListRequest.js";
|
||||
// import { testRankingListRequest } from "./testRankingListRequest.js";
|
||||
|
||||
testRankingListRequest();
|
||||
// testRankingListRequest();
|
||||
|
||||
console.log( "test" );
|
||||
|
@@ -14,13 +14,12 @@
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
// "module": "CommonJS",
|
||||
// "moduleResolution": "node",
|
||||
"moduleResolution": "node",
|
||||
"strict": true,
|
||||
"jsx": "preserve",
|
||||
"sourceMap": true,
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": false,
|
||||
"esModuleInterop": true,
|
||||
"baseUrl": "./", // paths 路径解析起点
|
||||
"paths": { // 别名路径设置
|
||||
"@/*": [
|
||||
@@ -46,5 +45,8 @@
|
||||
],
|
||||
"exclude": [
|
||||
"./node_modules",
|
||||
]
|
||||
],
|
||||
"ts-node": {
|
||||
"esm": true
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user