Skip to content

Commit 1408657

Browse files
authored
Merge pull request #19 from NativeScript/vlaeva/fix-tsconfig
Fix tsconfig and components' metadata
2 parents 6f0314e + 25813ab commit 1408657

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

Diff for: app/list-picker/list-picker.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Component,Input, ChangeDetectionStrategy } from '@angular/core';
22

33
@Component({
4+
moduleId: module.id,
45
selector: 'list',
56
styleUrls: ['./list-picker.css'],
67
template: `

Diff for: app/list-view/list-view-page.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
22

33
@Component({
4+
moduleId: module.id,
45
selector: 'list-test',
56
styleUrls: ['./list-view-page.css'],
67
template: `

Diff for: app/router/router-outlet.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {FirstComponent} from "../components/first.component";
33
import {SecondComponent} from "../components/second.component";
44

55
@Component({
6+
moduleId: module.id,
67
selector: 'navigation-test',
78
styleUrls: ['./router-outlet.css'],
89
template: `

Diff for: app/template/app.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {Component} from "@angular/core";
22

33
@Component({
4+
moduleId: module.id,
45
selector: "my-app",
56
styles: ["button {color: lime}"],
67
styleUrls: ["./app.component.css"],

Diff for: tsconfig.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"exclude": [
2323
"node_modules",
24-
"platforms"
24+
"platforms",
25+
"**/*.aot.ts"
2526
]
26-
}
27+
}

0 commit comments

Comments
 (0)