We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baccce1 commit c9351f1Copy full SHA for c9351f1
src/app/environment.ts
@@ -1,6 +1,6 @@
1
// Angular 2
2
// rc2 workaround
3
-import {enableDebugTools} from "@angular/platform-browser";
+import {enableDebugTools, disableDebugTools} from "@angular/platform-browser";
4
import {enableProdMode, ApplicationRef} from "@angular/core";
5
// Environment Providers
6
let PROVIDERS: any[] = [
@@ -16,6 +16,7 @@ let _decorateModuleRef = function identity<T>(value: T): T {
16
if ('production' === ENV) {
17
// Production
18
enableProdMode();
19
+ disableDebugTools();
20
21
PROVIDERS = [
22
...PROVIDERS,
0 commit comments