Skip to content

Commit 21139e9

Browse files
fix: correct build compilation failure (#28)
1 parent ec8a8f9 commit 21139e9

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

tsconfig.build.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "es2015",
5+
"moduleResolution": "node",
6+
"lib": ["es2015", "dom"],
7+
"outDir": "dist",
8+
"isolatedModules": false,
9+
"experimentalDecorators": true,
10+
"emitDecoratorMetadata": true,
11+
"noImplicitAny": true,
12+
"noImplicitUseStrict": false,
13+
"noEmitHelpers": false,
14+
"noLib": false,
15+
"noUnusedLocals": true,
16+
"noEmitOnError": true,
17+
"allowSyntheticDefaultImports": false,
18+
"skipLibCheck": true,
19+
"skipDefaultLibCheck": true,
20+
"strict": true,
21+
"strictNullChecks": true,
22+
"strictFunctionTypes": true,
23+
"forceConsistentCasingInFileNames": true,
24+
"declaration": true,
25+
"sourceMap": true
26+
},
27+
"include": [
28+
"src/**/*.ts"
29+
]
30+
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"module": "es2015",
4+
"module": "commonjs",
55
"moduleResolution": "node",
66
"lib": ["es2015", "dom"],
77
"outDir": "dist",

0 commit comments

Comments
 (0)