File tree 6 files changed +4
-8
lines changed
packages/@ngtools/webpack
test-app-weird/not/so/source/app
6 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 83
83
"portfinder" : " 1.0.9" ,
84
84
"postcss-loader" : " ^0.9.1" ,
85
85
"raw-loader" : " ^0.5.1" ,
86
- "reflect-metadata" : " ^0.1.8" ,
87
86
"resolve" : " ^1.1.7" ,
88
87
"rimraf" : " ^2.5.3" ,
89
88
"rsvp" : " ^3.0.17" ,
Original file line number Diff line number Diff line change 36
36
"@angular/core" : " ^2.3.1" ,
37
37
"@angular/tsc-wrapped" : " ^0.5.0" ,
38
38
"typescript" : " ^2.0.2" ,
39
- "reflect-metadata" : " ^0.1.8" ,
40
39
"webpack" : " 2.2.0"
41
40
}
42
41
}
Original file line number Diff line number Diff line change 1
- import 'reflect-metadata' ;
2
-
3
1
export * from './plugin' ;
4
2
export { ngcLoader as default } from './loader' ;
5
3
export { PathsPlugin } from './paths-plugin' ;
Original file line number Diff line number Diff line change 1
- import 'reflect-metadata ' ;
1
+ import 'core-js/es7/reflect ' ;
2
2
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
3
3
import { AppModule } from './app.module' ;
4
4
Original file line number Diff line number Diff line change 1
- import 'reflect-metadata ' ;
1
+ import 'core-js/es7/reflect ' ;
2
2
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
3
3
import { AppModule } from './app.module' ;
4
4
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default function(skipCleaning: () => void) {
15
15
. then ( ( ) => expectFileToExist ( 'dist/0.app.main.js' ) )
16
16
. then ( ( ) => expectFileToExist ( 'dist/1.app.main.js' ) )
17
17
. then ( ( ) => expectFileToExist ( 'dist/2.app.main.js' ) )
18
- . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 400000 ) )
18
+ . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 410000 ) )
19
19
. then ( ( ) => expectFileSizeToBeUnder ( 'dist/0.app.main.js' , 40000 ) )
20
20
21
21
// Skip code generation and rebuild.
@@ -27,7 +27,7 @@ export default function(skipCleaning: () => void) {
27
27
. then ( ( ) => expectFileToExist ( 'dist/0.app.main.js' ) )
28
28
. then ( ( ) => expectFileToExist ( 'dist/1.app.main.js' ) )
29
29
. then ( ( ) => expectFileToExist ( 'dist/2.app.main.js' ) )
30
- . then ( ( ) => expectToFail ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 400000 ) ) )
30
+ . then ( ( ) => expectToFail ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 410000 ) ) )
31
31
. then ( ( ) => expectFileSizeToBeUnder ( 'dist/0.app.main.js' , 40000 ) )
32
32
. then ( ( ) => skipCleaning ( ) ) ;
33
33
}
You can’t perform that action at this time.
0 commit comments