Skip to content

Commit dfc84ba

Browse files
committed
refactor(tsconfig): updated tsconfig.json for commonjs
1 parent 54c647f commit dfc84ba

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

tsconfig.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": "./",
34
"outDir": "dist/js",
45
"sourceMap": true,
56
"noImplicitAny": true,
6-
"module": "ESNext",
7-
"target": "ESNext",
7+
"module": "commonjs",
8+
"target": "es5",
89
"allowJs": true,
9-
"esModuleInterop": true,
10-
"moduleResolution": "node"
11-
}
10+
"moduleResolution": "node",
11+
"esModuleInterop": true
12+
},
13+
"include": ["src/js/**/*"],
14+
"exclude": ["node_modules", "**/*.spec.ts"]
1215
}

0 commit comments

Comments
 (0)