File tree 3 files changed +18
-5
lines changed
3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 11
11
"build" : {
12
12
"builder" : " @angular-devkit/build-angular:browser" ,
13
13
"options" : {
14
+ "aot" : true ,
14
15
"outputPath" : " dist" ,
15
16
"index" : " src/index.html" ,
16
17
"main" : " src/main.ts" ,
27
28
},
28
29
"configurations" : {
29
30
"production" : {
31
+ "budgets" : [
32
+ {
33
+ "type" : " anyComponentStyle" ,
34
+ "maximumWarning" : " 6kb"
35
+ }
36
+ ],
30
37
"optimization" : true ,
31
38
"outputHashing" : " all" ,
32
39
"sourceMap" : false ,
119
126
"schematics" : {
120
127
"@schematics/angular:component" : {
121
128
"prefix" : " " ,
122
- "styleext " : " css"
129
+ "style " : " css"
123
130
},
124
131
"@schematics/angular:directive" : {
125
132
"prefix" : " "
126
133
}
134
+ },
135
+ "cli" : {
136
+ "analytics" : " 55efd9b2-8578-4da2-aa7b-dc2f6abb6283"
127
137
}
128
138
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ app.route('/api/lessons')
18
18
19
19
20
20
// launch an HTTP Server
21
- const httpServer = app . listen ( 9000 , ( ) => {
21
+ const httpServer : any = app . listen ( 9000 , ( ) => {
22
22
console . log ( "HTTP Server running at http://localhost:" + httpServer . address ( ) . port ) ;
23
23
} ) ;
24
24
Original file line number Diff line number Diff line change 5
5
"baseUrl" : " ./" ,
6
6
"types" : []
7
7
},
8
- "exclude" : [
9
- " test.ts" ,
10
- " **/*.spec.ts"
8
+ "files" : [
9
+ " main.ts" ,
10
+ " polyfills.ts"
11
+ ],
12
+ "include" : [
13
+ " src/**/*.d.ts"
11
14
]
12
15
}
You can’t perform that action at this time.
0 commit comments