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

Commit 2d1f682

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 2d1f682

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: tsconfig.aot.json.template

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"globals": ["node_modules/tns-core-modules/globals"]
2828
}
2929
},
30+
"exclude": [
31+
"node_modules",
32+
"platforms"
33+
],
3034
"angularCompilerOptions": {
3135
"skipMetadataEmit": true,
3236
"genDir": "./"

0 commit comments

Comments
 (0)