Skip to content

Commit cc367b7

Browse files
committed
config: update target and module support
1 parent 71086fd commit cc367b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"compilerOptions": {
33
"incremental": true,
4-
"target": "es2017",
4+
"target": "es2015",
55
"outDir": "build/main",
66
"rootDir": "src",
77
"moduleResolution": "node",
8-
"module": "ESNext",
8+
"module": "commonjs",
99
"declaration": true,
10-
"inlineSourceMap": true,
10+
"inlineSourceMap": false,
1111
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
1212
"resolveJsonModule": true /* Include modules imported with .json extension. */,
1313
// "strict": true /* Enable all strict type-checking options. */,

0 commit comments

Comments
 (0)