Socket
Socket
Sign inDemoInstall

@angular/compiler-cli

Package Overview
Dependencies
8
Maintainers
2
Versions
790
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @angular/compiler-cli

Angular - the compiler CLI for Node.js


Version published
Maintainers
2
Install size
15.4 MB
Created

Package description

What is @angular/compiler-cli?

The @angular/compiler-cli package provides command-line interfaces to perform Angular compilations. It is primarily used to compile Angular applications into JavaScript code that can be executed by browsers. It leverages the Angular Compiler (ngc) which is a superset of the TypeScript compiler (tsc) and includes Angular-specific metadata processing.

What are @angular/compiler-cli's main functionalities?

Ahead-of-Time (AOT) Compilation

Compiles Angular HTML and TypeScript code into efficient JavaScript code during the build process before the browser downloads and runs that code. This is the main feature of the compiler-cli which results in faster rendering, fewer asynchronous requests, smaller Angular framework download size, and better security.

ngc -p tsconfig.app.json

Incremental Builds

Supports incremental compilation by reusing the previous compilation results to speed up subsequent compilations. This feature is useful for large projects to reduce build times.

ngc --incremental

Link Time Code Generation

Processes libraries to generate Ivy-compatible code as part of the Angular Ivy compilation pipeline. This feature is used when compiling libraries with the Ivy renderer.

ngc --create-ivy-entry-points

Other packages similar to @angular/compiler-cli

Changelog

Source

16.1.5 (2023-07-13)

animations

| Commit | Type | Description | | -- | -- | -- | | f920fcbd94 | fix | Ensure elements are removed from the cache after leave animation. (#50929) |

core

| Commit | Type | Description | | -- | -- | -- | | 499fb5c772 | fix | ensure that standalone components get correct injector instances (#50954) | | c65913ecb7 | fix | handle deref returning null on RefactiveNode. (#50992) |

platform-browser

| Commit | Type | Description | | -- | -- | -- | | 31419f6a3b | perf | do not remove renderer from cache when REMOVE_STYLES_ON_COMPONENT_DESTROY is enabled. (#51005) |

upgrade

| Commit | Type | Description | | -- | -- | -- | | 3efb577cf3 | fix | Use takeUntil on leaky subscription. (#50901) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="16.1.4"></a>

Keywords

FAQs

Last updated on 13 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc