angular-docs-cn/aio/content/guide
JoostK 6ba67c6fff feat(compiler-cli): mark ability to use partial compilation mode as stable (#41518)
This commit marks the `compilationMode` compiler option as stable, such
that libraries can be compiled in partial compilation mode.

In partial compilation mode, the compiler's output changes from fully
compiled AOT definitions to an intermediate form using partial
declarations. This form is suitable to be published to NPM, which now
allows libraries to be compiled and published using the Ivy compiler.

Please be aware that libraries that have been compiled using this mode
can only be used in Angular 12 applications and up; they cannot be used
when Ivy is disabled (i.e. when using View Engine) or in versions of
Angular prior to 12. The `compilationMode` option has no effect if
`enableIvy: false` is used.

Closes #41496

PR Close #41518
2021-04-12 10:31:12 -07:00
..
accessibility.md docs: remove superfluous "NOTE:" (#39933) 2020-12-02 14:55:27 -08:00
ajs-quick-reference.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
angular-compiler-options.md feat(compiler-cli): mark ability to use partial compilation mode as stable (#41518) 2021-04-12 10:31:12 -07:00
animations.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
aot-compiler.md docs: Fix component decorator closing brackets (#38754) 2020-09-09 09:06:10 -07:00
aot-metadata-errors.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
app-shell.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
architecture-components.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
architecture-modules.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
architecture-next-steps.md docs: deprecate displaying data in views topic (#38885) 2020-10-15 14:05:28 -07:00
architecture-services.md docs: edit di providers doc (#39403) 2020-11-20 09:24:51 -08:00
architecture.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
attribute-binding.md docs: update attribute-binding.md to correctly describe [attr.binding] rules (#40878) 2021-02-17 17:05:17 -08:00
attribute-directives.md docs: Remove of unnecessary Input (#41150) 2021-03-10 11:20:01 -08:00
binding-syntax.md docs: fix styles in binding guides (#40182) 2020-12-21 10:22:31 -08:00
bootstrapping.md docs: change wrong default app module by ng new (#38549) 2020-09-21 12:25:28 -07:00
browser-support.md docs: format browser-support tables for GitHub markdown (#41122) 2021-03-23 13:08:35 -07:00
build.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
built-in-directives.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
cheatsheet.md refactor(docs-infra): simplify code snippet indentation in the "Cheat sheet" guide (#41051) 2021-03-09 08:52:52 -08:00
cli-builder.md docs: correct some spellings (#40322) 2021-01-06 07:31:33 -08:00
comparing-observables.md refactor(docs-infra): fix docs examples for tslint rule `prefer-const` (#38143) 2020-07-31 11:00:06 -07:00
complex-animation-sequences.md docs: remove redundant whitespaces and fix minor typos (#33422) 2019-10-29 11:39:17 -07:00
component-interaction.md docs: separate template syntax into multiple docs (#36954) 2020-07-20 11:16:44 -07:00
component-overview.md docs: review and update components overview guide (#41263) 2021-03-30 16:44:01 -07:00
component-styles.md docs: extend :host selector documentation (#41055) 2021-03-08 08:36:04 -08:00
contributors-guide-overview.md refactor(docs-infra): consistently format `docs-card` elements in the guides (#41250) 2021-04-01 11:19:57 -07:00
creating-libraries.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
dependency-injection-in-action.md docs: edit di providers doc (#39403) 2020-11-20 09:24:51 -08:00
dependency-injection-navtree.md docs: archive di-navtree doc (#39543) 2020-11-12 13:52:04 -08:00
dependency-injection-providers.md docs: fix interchanged values (#40302) 2021-01-05 09:46:56 -08:00
dependency-injection.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
deployment.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
deprecations.md fix(common): temporarily re-export and deprecate `XhrFactory` (#41393) 2021-04-01 11:26:11 -07:00
docs-style-guide.md docs: update docs-style-guide (#36281) 2021-02-09 14:26:06 -08:00
dynamic-component-loader.md refactor(docs-infra): fix docs examples for Angular-specific tslint rules (#38143) 2020-07-31 11:00:06 -07:00
dynamic-form.md docs: add links to TypeScript (#40410) 2021-01-13 14:02:32 -08:00
elements.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
entry-components.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
event-binding-concepts.md build(docs-infra): implement full template checking for examples (#40930) 2021-02-26 15:40:44 -08:00
event-binding.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
example-apps-list.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
feature-modules.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
file-structure.md docs: add entry for prod tsconfig in library files (#41512) 2021-04-09 07:46:52 -07:00
form-validation.md docs: add links to TypeScript (#40410) 2021-01-13 14:02:32 -08:00
forms-overview.md docs: add links to TypeScript (#40410) 2021-01-13 14:02:32 -08:00
forms.md docs: add links to TypeScript (#40410) 2021-01-13 14:02:32 -08:00
frequent-ngmodules.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
glossary.md docs: fix grammar mistake in `glossary.md` ("can exported" --> "can be exported") (#41440) 2021-04-05 08:17:26 -07:00
hierarchical-dependency-injection.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
http.md docs(http): add example for interceptor order (#39938) 2021-03-01 15:33:36 -08:00
i18n.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
inputs-outputs.md docs: added a missing ` in inputs-outputs.md (#39856) 2020-11-30 11:14:01 -08:00
interpolation.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
ivy-compatibility-examples.md docs: explain foreign function/value constraints in Ivy compatibility examples (#36092) 2020-11-24 13:09:37 -08:00
ivy-compatibility.md docs: add update information for v11 release (#39607) 2020-11-09 12:20:34 -08:00
ivy.md docs: update docs to use new zone.js entry-points (#40823) 2021-02-24 07:58:29 -08:00
language-service.md docs: Including Visual Studio (#41414) 2021-04-02 10:53:37 -07:00
lazy-loading-ngmodules.md docs: Add documentation about the CLI failing (#35385) 2021-02-16 08:04:05 -08:00
libraries.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
lifecycle-hooks.md docs: edit Component lifecycle title (#40894) 2021-02-19 09:10:37 -08:00
lightweight-injection-tokens.md docs: the token should be associated with LibHeaderComponent (#40922) 2021-02-19 09:07:00 -08:00
migration-dynamic-flag.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
migration-injectable.md docs: fix migrations formatting (#33267) 2019-12-05 13:06:01 -08:00
migration-localize.md docs: fix migrations formatting (#33267) 2019-12-05 13:06:01 -08:00
migration-module-with-providers.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
migration-renderer.md docs: fix migrations formatting (#33267) 2019-12-05 13:06:01 -08:00
migration-undecorated-classes.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
migration-update-libraries-tslib.md docs: updating guides and docs related to the v10 release (#37705) 2020-06-24 09:37:34 -07:00
migration-update-module-and-target-compiler-options.md docs: fix typo in migration guide (#41447) 2021-04-07 13:51:08 -07:00
module-types.md docs: Refactor module-types.md to make it easier to understand (#38206) 2020-07-28 10:01:37 -07:00
ngmodule-api.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
ngmodule-faq.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
ngmodule-vs-jsmodule.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
ngmodules.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
npm-packages.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
observables-in-angular.md docs: edit inputs-outputs copy and headers (#39119) 2020-11-13 11:26:27 -08:00
observables.md docs: clarify observables recommendation (#39237) 2021-02-10 11:04:04 -08:00
pipes.md docs: HTTP in HttpClient should not be written in uppercase (#40195) 2020-12-21 14:21:32 -08:00
practical-observable-usage.md
property-binding-best-practices.md docs: edit property binding doc (#38799) 2020-10-21 08:23:42 -07:00
property-binding.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
providers.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
reactive-forms.md docs: add links to TypeScript (#40410) 2021-01-13 14:02:32 -08:00
releases.md docs: clarify that support schedule is subject to change (#40770) 2021-02-12 16:14:52 -08:00
reusable-animations.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
reviewing-content.md docs: use dedicated anchors for links to `CONTRIBUTING.md` (#41250) 2021-04-01 11:19:57 -07:00
roadmap.md docs: update the roadmap with our priorities at Q4 (#39635) 2020-11-11 15:44:44 -08:00
route-animations.md docs(animations): Added consistency in code examples (#37081) 2020-07-09 22:08:00 +00:00
router-tutorial-toh.md docs: remove duplicated 'the' (#40333) 2021-01-07 13:09:34 -08:00
router-tutorial.md docs(router): fix minor grammatical issue (#40380) 2021-01-11 09:57:34 -08:00
router.md docs: fix typo in router.md file (#41064) 2021-03-03 09:36:06 -08:00
rx-library.md test(docs-infra): add unit tests for rx-library examples (#38905) 2020-09-28 16:20:11 -04:00
schematics-authoring.md docs(core): update links to schema.json of @schematics/angular (#39827) 2020-11-24 10:50:30 -08:00
schematics-for-libraries.md docs: fix the docs because the interface does not exist (#40308) 2021-01-25 16:29:13 -08:00
schematics.md docs: update link to schematics schema (#41258) 2021-03-18 10:02:25 -07:00
security.md docs: Change lexical in security guide (#41016) 2021-02-26 15:14:57 -08:00
service-worker-communications.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
service-worker-config.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
service-worker-devops.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
service-worker-getting-started.md docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
service-worker-intro.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
set-document-title.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
setup-local.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
sharing-ngmodules.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
singleton-services.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
static-query-migration.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
strict-mode.md docs: update the link to the TypeScript documentation for strict mode (#40063) 2020-12-10 14:16:23 -08:00
structural-directives.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
style-precedence.md docs: fix typos in the Style Precedence guide (#39560) 2020-12-09 09:02:14 -08:00
styleguide.md docs: remove Codelyzer recommendation from style guide (#40992) 2021-03-04 11:01:48 -08:00
svg-in-templates.md docs: Return SVG topic to documentation; light edits for clarity (#40487) 2021-01-19 14:18:51 -08:00
template-expression-operators.md docs: archive template expression operators doc, move pipes precedence section (#39170) 2020-11-24 08:41:18 -08:00
template-reference-variables.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
template-statements.md docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:26 -08:00
template-syntax.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
template-typecheck.md feat(compiler-cli): Add compiler option to report errors when assigning to restricted input fields (#38249) 2020-08-11 09:55:48 -07:00
test-debugging.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
testing-attribute-directives.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
testing-code-coverage.md docs: replace deprecated karma-coverage-istanbul-reporter (#41246) 2021-03-18 10:01:57 -07:00
testing-components-basics.md docs: fix typo in the testing component basics guide (#38573) 2020-08-25 09:55:59 -07:00
testing-components-scenarios.md docs: update docs to use new zone.js entry-points (#40823) 2021-02-24 07:58:29 -08:00
testing-pipes.md docs: fix live examples in testing guides (#38038) 2020-07-14 09:10:00 -07:00
testing-services.md docs: fix live examples in testing guides (#38038) 2020-07-14 09:10:00 -07:00
testing-utility-apis.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
testing.md docs: describe how to run tests in GitLab CI (#40411) 2021-03-30 16:53:30 -07:00
transition-and-triggers.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
two-way-binding.md docs: fix typo in two-way-binding guide (#39859) 2020-11-30 11:15:02 -08:00
typescript-configuration.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
universal.md docs: remove solution style tsconfig (#38394) 2020-08-11 16:32:20 -07:00
updating-content-github-ui.md docs: correctly style alert in `updating-content-github-ui` guide (#41250) 2021-04-01 11:19:57 -07:00
updating-search-keywords.md docs: several minor fixes/improvements to docs contributing guides (#41250) 2021-04-01 11:19:57 -07:00
updating-to-version-11.md docs: add update information for v11 release (#39607) 2020-11-09 12:20:34 -08:00
updating.md docs: remove the release schedule from docs (#34474) 2020-02-06 14:29:21 -08:00
upgrade-performance.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
upgrade-setup.md docs: update docs to use new zone.js entry-points (#40823) 2021-02-24 07:58:29 -08:00
upgrade.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
user-input.md docs: update docs to use new zone.js entry-points (#40823) 2021-02-24 07:58:29 -08:00
using-libraries.md docs: Grammar fixes (#38900) 2020-09-18 16:52:52 -07:00
view-encapsulation.md docs(core): fix typos in the "View Encapsulation" guide (#39246) 2020-12-08 08:53:36 -08:00
visual-studio-2015.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
web-worker.md docs: update web-worker CLI commands to bash style (#38421) 2020-08-12 11:24:35 -07:00
what-is-angular.md docs: minor update to what is Angular topic (#41123) 2021-03-17 09:01:35 -07:00
workspace-config.md docs: update assets configuration to include `followSymlinks` option (#41238) 2021-03-17 09:04:15 -07:00
zone.md docs: update docs to use new zone.js entry-points (#40823) 2021-02-24 07:58:29 -08:00