Skip to content

Commit 18b5429

Browse files
tsconfig.json:add compilerOptions
1 parent f886634 commit 18b5429

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tsconfig.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ outDir: This is the location to output .js files after transpilation. We save it
88

99
{
1010
"compilerOptions": {
11+
"target": "es5",
1112
"module": "commonjs",
12-
"esModuleInterop": true,
13-
"target": "es6",
14-
"moduleResolution": "node",
13+
"lib": ["es6"],
14+
"allowJs": true,
15+
"outDir": "dist",
16+
"strict": true,
1517
"sourceMap": true,
16-
"outDir": "dist"
17-
},
18-
"lib": ["es2015"]
18+
"esModuleInterop": true,
19+
"resolveJsonModule": true
20+
}
1921
}

0 commit comments

Comments
 (0)