angular-docs-cn/aio/content
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
..
cli
cli-src
errors
examples
guide feat(compiler-cli): mark ability to use partial compilation mode as stable (#41518) 2021-04-12 10:31:12 -07:00
images
marketing docs: remove 'ui-jar' from Resources (#41552) 2021-04-12 10:05:50 -07:00
start
tutorial
file-not-found.md
license.md
navigation.json