Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 5ac8b38

Browse files
committed
fix(tsconfig): add "exclude" property to aot config
The "exclude" property isn't properly inherited from the base configuration ("tsconfig.json") so we need to explicitly specify it. This caused the angular compiler to try to parse the `platforms` folder and eventually fail. fixes #101
1 parent b6cdfba commit 5ac8b38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: tsconfig.aot.json.template

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig",
33
"compilerOptions": {
4+
"baseUrl": ".",
45
"paths": {
56
"ui/*": ["node_modules/tns-core-modules/ui/*"],
67
"platform": ["node_modules/tns-core-modules/platform"],
@@ -27,6 +28,10 @@
2728
"globals": ["node_modules/tns-core-modules/globals"]
2829
}
2930
},
31+
"exclude": [
32+
"node_modules",
33+
"platforms"
34+
],
3035
"angularCompilerOptions": {
3136
"skipMetadataEmit": true,
3237
"genDir": "./"

0 commit comments

Comments
 (0)