mirror of
https://github.com/angular/angular.git
synced 2026-11-28 01:17:49 -05:00
aafd502bcbf39f42e431a07200c7badb652759b9
ngDevMode = true (#25208)
Before the `ngDevMode` had to be set explicitly or it would throw an exception at runtime. This changes it so that if `ngDevModu` is `undefined` than we default to `ngDevMode = true`. In other words unless the developer has explicitly asked to make a prodution build by setting `ngDevMode = false` as compilation constant, the default is `ngDevMode = true`. This also fixes a minor bug where the setup code would read `global['ngDevMode']` but all other code would read `global.ngDevMode`. This would cause issues with closure compiler since the reading of the `ngDevMode` must be consistent. PR Close #25208
build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663)
build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663)
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Languages
TypeScript
72.9%
JavaScript
15.6%
Rust
6.9%
HTML
1.6%
Starlark
1.6%
Other
1.4%