mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The main use case for the generated source maps is to give
errors a meaningful context in terms of the original source
that the user wrote.
Related changes that are included in this commit:
* renamed virtual folders used for jit:
* ng://<module type>/module.ngfactory.js
* ng://<module type>/<comp type>.ngfactory.js
* ng://<module type>/<comp type>.html (for inline templates)
* error logging:
* all errors that happen in templates are logged
from the place of the nearest element.
* instead of logging error messages and stacks separately,
we log the actual error. This is needed so that browsers apply
source maps to the stack correctly.
* error type and error is logged as one log entry.
Note that long-stack-trace zone has a bug that
disables source maps for stack traces,
see https://github.com/angular/zone.js/issues/661.
BREAKING CHANGE:
- DebugNode.source no more returns the source location of a node.
Closes 14013
|
||
|---|---|---|
| .. | ||
| aot | ||
| css_parser | ||
| expression_parser | ||
| i18n | ||
| ml_parser | ||
| output | ||
| schema | ||
| template_parser | ||
| directive_lifecycle_spec.ts | ||
| directive_normalizer_spec.ts | ||
| directive_resolver_mock_spec.ts | ||
| directive_resolver_spec.ts | ||
| integration_spec.ts | ||
| metadata_overrider_spec.ts | ||
| metadata_resolver_fixture.ts | ||
| metadata_resolver_spec.ts | ||
| ng_module_resolver_mock_spec.ts | ||
| ng_module_resolver_spec.ts | ||
| pipe_resolver_mock_spec.ts | ||
| pipe_resolver_spec.ts | ||
| resource_loader_mock_spec.ts | ||
| runtime_compiler_spec.ts | ||
| selector_spec.ts | ||
| shadow_css_spec.ts | ||
| spies.ts | ||
| style_url_resolver_spec.ts | ||
| url_resolver_spec.ts | ||
| util_spec.ts | ||