angular-cn/aio/tools/transforms/angular-api-package
Kara Erickson 86104b82b8 refactor(core): rename ngInjectableDef to ɵprov (#33151)
Injectable 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
ngInjectableDef to "prov" (for "provider", since injector defs
are known as "inj"). 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.

PR Close #33151
2019-10-16 16:36:19 -04:00
..
content-rules build(aio): create minLength content rule (#22759) 2018-04-12 00:06:49 -07:00
mocks build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
processors fix(docs-infra): ignore `ng*Def` members in API docs (#31378) 2019-10-03 10:24:34 -07:00
readers build(docs-infra): implement the 'package' API template (#24631) 2018-07-13 19:45:54 -04:00
tag-defs build(docs-infra): add empty `codeGenApi` JSDoc tag definition (#32207) 2019-08-28 09:41:21 -07:00
index.js refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00