angular-cn/tools/symbol-extractor/symbol_extractor_spec
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
..
dont_pick_up_inner_symbols.js test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
dont_pick_up_inner_symbols.json test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
drop_trailing_suffix.js test: improve symbol-extractor test by ignoring $1 suffix (#28098) 2019-01-14 09:55:30 -08:00
drop_trailing_suffix.json test: improve symbol-extractor test by ignoring $1 suffix (#28098) 2019-01-14 09:55:30 -08:00
empty.js test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
empty.json test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
empty_iife.js test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
empty_iife.json test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
hello_world_min_debug.js refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
hello_world_min_debug.json test: improve symbol-extractor test by ignoring $1 suffix (#28098) 2019-01-14 09:55:30 -08:00
iife_with_export.js test(ivy): symbol extractor should handle different compile options (#24677) 2018-06-28 17:51:42 -04:00
iife_with_export.json test(ivy): switch HelloWorld to ivy compiler (#22788) 2018-03-19 16:00:38 -07:00
simple.js test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
simple.json test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
two_symbols_per_var.js test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
two_symbols_per_var.json test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
var_list.js test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00
var_list.json test: Add bundle symbol extractor tool (#22002) 2018-02-13 11:28:54 -08:00