File tree Expand file tree Collapse file tree 6 files changed +4
-8
lines changed
packages/@ngtools/webpack
test-app-weird/not/so/source/app Expand file tree Collapse file tree 6 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 8383 "portfinder" : " 1.0.9" ,
8484 "postcss-loader" : " ^0.9.1" ,
8585 "raw-loader" : " ^0.5.1" ,
86- "reflect-metadata" : " ^0.1.8" ,
8786 "resolve" : " ^1.1.7" ,
8887 "rimraf" : " ^2.5.3" ,
8988 "rsvp" : " ^3.0.17" ,
Original file line number Diff line number Diff line change 3636 "@angular/core" : " ^2.3.1" ,
3737 "@angular/tsc-wrapped" : " ^0.5.0" ,
3838 "typescript" : " ^2.0.2" ,
39- "reflect-metadata" : " ^0.1.8" ,
4039 "webpack" : " 2.2.0"
4140 }
4241}
Original file line number Diff line number Diff line change 1- import 'reflect-metadata' ;
2-
31export * from './plugin' ;
42export { ngcLoader as default } from './loader' ;
53export { PathsPlugin } from './paths-plugin' ;
Original file line number Diff line number Diff line change 1- import 'reflect-metadata ' ;
1+ import 'core-js/es7/reflect ' ;
22import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
33import { AppModule } from './app.module' ;
44
Original file line number Diff line number Diff line change 1- import 'reflect-metadata ' ;
1+ import 'core-js/es7/reflect ' ;
22import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
33import { AppModule } from './app.module' ;
44
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default function(skipCleaning: () => void) {
1515 . then ( ( ) => expectFileToExist ( 'dist/0.app.main.js' ) )
1616 . then ( ( ) => expectFileToExist ( 'dist/1.app.main.js' ) )
1717 . then ( ( ) => expectFileToExist ( 'dist/2.app.main.js' ) )
18- . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 400000 ) )
18+ . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 410000 ) )
1919 . then ( ( ) => expectFileSizeToBeUnder ( 'dist/0.app.main.js' , 40000 ) )
2020
2121 // Skip code generation and rebuild.
@@ -27,7 +27,7 @@ export default function(skipCleaning: () => void) {
2727 . then ( ( ) => expectFileToExist ( 'dist/0.app.main.js' ) )
2828 . then ( ( ) => expectFileToExist ( 'dist/1.app.main.js' ) )
2929 . 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 ) ) )
3131 . then ( ( ) => expectFileSizeToBeUnder ( 'dist/0.app.main.js' , 40000 ) )
3232 . then ( ( ) => skipCleaning ( ) ) ;
3333}
You can’t perform that action at this time.
0 commit comments