angular-docs-cn/tools/symbol-extractor
Kara Erickson 64fd0d6db9 refactor(core): rename ngComponentDef to ɵcmp (#33088)
Component defs are not considered public API, so the property
that contains them should be prefixed with Angular's marker
for "private" ('ɵ') to discourage apps from relying on def
APIs directly.

This commit adds the prefix and shortens the name from
`ngComponentDef` to `cmp`. This is because property names
cannot be minified by Uglify without turning on property
mangling (which most apps have turned off) and are thus
size-sensitive.

Note that the other "defs" (ngDirectiveDef, etc) will be
prefixed and shortened in follow-up PRs, in an attempt to
limit how large and conflict-y this change is.

PR Close #33088
2019-10-11 15:45:22 -07:00
..
symbol_extractor_spec refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
cli.ts build: unable to accept new symbol-extractor golden on windows (#30127) 2019-04-26 16:35:51 -07:00
index.bzl build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
symbol_extractor.ts ci: fix symbol test to handle duplicate symbols (#28459) 2019-01-31 12:26:16 -05:00
symbol_extractor_spec.ts