Skip to content

Commit 31cb00a

Browse files
committed
build: exclude "dist" from ts builds
It will cause breakage because outDir is included in the build if 'exclude' is defined - which is currently set with "node_modules". https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#details
1 parent cc78242 commit 31cb00a

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

tsconfig.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
2-
"compilerOptions": {
3-
"module": "commonjs",
4-
"declaration": true,
5-
"removeComments": true,
6-
"emitDecoratorMetadata": true,
7-
"experimentalDecorators": true,
8-
"target": "es6",
9-
"sourceMap": true,
10-
"outDir": "./dist",
11-
"baseUrl": "./",
12-
"incremental": true,
13-
"esModuleInterop": true,
14-
},
15-
"exclude": ["node_modules"]
16-
}
17-
2+
"compilerOptions": {
3+
"module": "commonjs",
4+
"declaration": true,
5+
"removeComments": true,
6+
"emitDecoratorMetadata": true,
7+
"experimentalDecorators": true,
8+
"target": "es6",
9+
"sourceMap": true,
10+
"outDir": "./dist",
11+
"baseUrl": "./",
12+
"incremental": true,
13+
"esModuleInterop": true
14+
},
15+
"exclude": ["node_modules", "dist"]
16+
}

0 commit comments

Comments
 (0)