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

Commit

Permalink
fix(tsconfig): add "exclude" property to aot config (#120)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sis0k0 authored Apr 19, 2017
1 parent b6cdfba commit d28dba1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tsconfig.aot.json.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"ui/*": ["node_modules/tns-core-modules/ui/*"],
"platform": ["node_modules/tns-core-modules/platform"],
Expand All @@ -27,6 +28,10 @@
"globals": ["node_modules/tns-core-modules/globals"]
}
},
"exclude": [
"node_modules",
"platforms"
],
"angularCompilerOptions": {
"skipMetadataEmit": true,
"genDir": "./"
Expand Down

0 comments on commit d28dba1

Please sign in to comment.