I'm working with Angular2 quick start
demo using TypeScript
. Everything is working fine with this but after completion of demo I have seen a message in my browser console
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
I have done this with the help of this answer.
import { bootstrap } from '@angular/platform-browser-dynamic';
import { AppComponent } from './app.component';
import { enableProdMode } from '@angular/core';
enableProdMode();
bootstrap(AppComponent);
Question
- What exactly happens when app move to production mode?
- I have not seen any changes in application behavior except removing console message?
Can anyone explain please?