Skip to content

Commit 1893ccc

Browse files
fix: running prism cli threw exception (#190)
- Class constructor Command cannot be invoked without 'new' SL-2021
1 parent 7c61c62 commit 1893ccc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/cli/tsconfig.build.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../tsconfig.build.json",
33
"compilerOptions": {
44
"rootDir": "src",
5-
"outDir": "lib"
5+
"outDir": "lib",
6+
"target": "es2017"
67
},
78
"include": ["src"],
89
"references": [

packages/cli/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"module":"commonjs",
5-
"moduleResolution": "node"
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"target": "es2017"
67
}
78
}

0 commit comments

Comments
 (0)