File tree Expand file tree Collapse file tree 5 files changed +2
-34
lines changed Expand file tree Collapse file tree 5 files changed +2
-34
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { Location } from '@angular/common';
1919 HeaderComponent
2020 ] ,
2121 imports : [
22- BrowserModule . withServerTransition ( { appId : 'serverApp' } ) ,
22+ BrowserModule ,
2323 AppRoutingModule ,
2424 BrowserAnimationsModule ,
2525 HttpClientModule ,
Original file line number Diff line number Diff line change 11export const environment = {
2- production : true
32} ;
Original file line number Diff line number Diff line change 1- // This file can be replaced during build by using the `fileReplacements` array.
2- // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3- // The list of file replacements can be found in `angular.json`.
4-
51export const environment = {
6- production : false
72} ;
8-
9- /*
10- * For easier debugging in development mode, you can import the following file
11- * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12- *
13- * This import should be commented out in production mode because it will have a negative impact
14- * on performance if an error is thrown.
15- */
16- // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
Original file line number Diff line number Diff line change 1- import { enableProdMode } from '@angular/core' ;
2-
3- import { environment } from './environments/environment' ;
4-
5- if ( environment . production ) {
6- enableProdMode ( ) ;
7- }
8-
91export { AppServerModule } from './app/app.server.module' ;
10- export { renderModuleFactory } from '@angular/platform-server' ;
Original file line number Diff line number Diff line change 1- import { enableProdMode } from '@angular/core' ;
21import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
32
43import { AppModule } from './app/app.module' ;
5- import { environment } from './environments/environment' ;
64
7- if ( environment . production ) {
8- enableProdMode ( ) ;
9- }
10-
11- document . addEventListener ( 'DOMContentLoaded' , ( ) => {
12- platformBrowserDynamic ( ) . bootstrapModule ( AppModule )
5+ platformBrowserDynamic ( ) . bootstrapModule ( AppModule )
136 . catch ( err => console . error ( err ) ) ;
14- } ) ;
You can’t perform that action at this time.
0 commit comments