File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 11import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
2- import { ApplicationRef , enableProdMode } from '@angular/core' ;
2+ import { enableProdMode } from '@angular/core' ;
33import { environment } from './environments/environment' ;
44import { AppModule } from './app/app.module' ;
5- import { enableDebugTools } from '@angular/platform-browser' ;
65
76if ( environment . production ) {
87 enableProdMode ( ) ;
9- }
8+ }
109
11- platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) . then ( moduleRef => {
12- const applicationRef = moduleRef . injector . get ( ApplicationRef ) ;
13- const componentRef = applicationRef . components [ 0 ] ;
14- // allows to run `ng.profiler.timeChangeDetection();`
15- enableDebugTools ( componentRef ) ;
16- } ) . catch ( err => console . error ( err ) ) ;
10+ platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) . catch ( err => console . error ( err ) ) ;
Original file line number Diff line number Diff line change 88 "main" : " ./backend/index.js" ,
99 "bin" : " ./backend/index.js" ,
1010 "scripts" : {
11- "installx " : " tsc && gulp build-prod" ,
11+ "install " : " tsc && gulp build-prod" ,
1212 "build-release" : " gulp build-release" ,
1313 "build-backend" : " tsc" ,
1414 "pretest" : " tsc" ,
You can’t perform that action at this time.
0 commit comments