MCPcopy Index your code
hub / github.com/angular/angular / enableProdMode

Function enableProdMode

packages/core/src/util/is_dev_mode.ts:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 * @publicApi
37 */
38export function enableProdMode(): void {
39 // The below check is there so when ngDevMode is set via terser
40 // `global['ngDevMode'] = false;` is also dropped.
41 if (typeof ngDevMode === 'undefined' || ngDevMode) {
42 global['ngDevMode'] = false;
43 }
44}

Callers 13

main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
index_aot.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
initFunction · 0.90
main.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…