
committed by
Chuck Jazdzewski

parent
52cfe3952a
commit
e79e98ab44
11
aio/content/examples/lazy-loading-ngmodules/src/main.ts
Normal file
11
aio/content/examples/lazy-loading-ngmodules/src/main.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { enableProdMode } from '@angular/core';
|
||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
|
||||
import { AppModule } from './app/app.module';
|
||||
import { environment } from './environments/environment';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(AppModule);
|
Reference in New Issue
Block a user