Socket
Socket
Sign inDemoInstall

@angular-devkit/build-angular

Package Overview
Dependencies
73
Maintainers
3
Versions
684
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-devkit/build-angular

Angular Webpack Build Facade


Version published
Weekly downloads
2.7M
increased by4.84%
Maintainers
3
Created
Weekly downloads
 

Package description

What is @angular-devkit/build-angular?

The @angular-devkit/build-angular package is a set of tools and build configurations used to compile and build Angular applications. It is part of the Angular DevKit and is designed to work with the Angular CLI to provide a smooth development experience. It includes features for building, bundling, optimizing, and serving Angular applications.

What are @angular-devkit/build-angular's main functionalities?

Building Angular Applications

Compiles an Angular app into an output directory. The build artifacts will be stored in the dist/ directory by default.

ng build

Development Server

Builds the application and starts a web server. You can view your application in the browser by navigating to the provided localhost address.

ng serve

Code Optimization

Performs ahead-of-time compilation, tree-shaking, minification, and other optimizations to produce a production-ready application.

ng build --prod

Sass/SCSS Compilation

Allows you to use Sass/SCSS stylesheets with your Angular components, which will be compiled to CSS during the build process.

ng build --style=scss

Internationalization (i18n)

Builds the application with i18n support. It can generate multiple versions of your application, one for each locale you support.

ng build --localize

Other packages similar to @angular-devkit/build-angular

Changelog

Source

13.1.0 (2021-12-09)

@angular/cli

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------ | | 56f802b7d | feat | ask to install angular-eslint when running ng lint in new projects | | ecd9fb5c7 | feat | provide more detailed error for not found builder | | 0b6071af3 | fix | ng doc does open browser on Windows |

@schematics/angular

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------------- | | d5d9f042f | feat | add VS Code configurations when generating a new workspace | | f95cc8281 | feat | generate new projects using TypeScript 4.5 | | 21809e14c | feat | loosen project name validation |

@angular-devkit/schematics-cli

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------ | | 339bab06c | feat | generate new projects using TypeScript 4.5 |

@angular-devkit/build-angular

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------- | | bc8563760 | feat | add estimated transfer size to build output report | | bc17cf0cd | feat | colorize file raw sizes based on failing budgets | | 3c681b68d | feat | set dir attribute when using localization | | 6d0f99a2d | feat | support JSON comments in dev-server proxy configuration file | | 9300545e6 | feat | watch i18n translation files with dev server | | 9bacba342 | fix | differentiate components and global styles using file query instead of filename | | 7408511da | fix | display cleaner errors | | d55fc62ef | fix | fallback to use language ID to set the dir attribute | | 4c288b8bd | fix | lazy modules bundle budgets | | 562dc6a89 | fix | prefer ES2015 entrypoints when application targets ES2019 or lower | | ac66e400c | fix | Sass compilation in StackBlitz webcontainers | | e1bac5bbb | fix | update Angular peer dependencies to v13.1 prerelease | | 789ddfaeb | perf | disable webpack backwards compatible APIs |

@ngtools/webpack

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | -------------------------------------------------------- | | 5402f99f8 | fix | add cjs and mjs to passthrough files | | 10d4ede2d | fix | handle promise rejection during Angular program analyzes |

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Ferdinand Malcher, Joey Perrott and Ruslan Lekhman

<!-- CHANGELOG SPLIT MARKER -->

<a name="12.2.14"></a>

Readme

Source

@angular-devkit/build-angular

This package contains Architect builders used to build and test Angular applications and libraries.

Builders

NameDescription
app-shellBuild an Angular App shell.
browserBuild an Angular application targeting a browser environment.
dev-serverA development server that provides live reloading.
extract-i18nExtract i18n messages from an Angular application.
karmaExecute unit tests using Karma test runner.
ng-packagrBuild and package an Angular library in Angular Package Format (APF) format using ng-packagr.
serverBuild an Angular application targeting a Node.js environment.
protractorDeprecated - Run end-to-end tests using Protractor framework.

Disclaimer

While the builders when executed via the Angular CLI and their associated options are considered stable, the programmatic APIs are not considered officially supported and are not subject to the breaking change guarantees of SemVer.

Keywords

FAQs

Last updated on 09 Dec 2021

Did you know?

Socket

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc