Packages

@ngtools/webpack

22.2.5 · 28 Oct 2026MIT3.7M / weekRepositorynpmAtom feed

Deprecated by its maintainers: Angular's Webpack support is deprecated. Use the esbuild and Vite-based "@angular/build" package instead.What to use instead
Your version

19.1.0

15 Jan 2025Where it was published

19.2.27 is the newest release of 19.x.

In short

1 deprecated

  • deprecated

    The baseHref option under i18n.locales and i18n.sourceLocale in angular.json is deprecated in favor of subPath.

Release note

@schematics/angular

CommitDescription
feat - 02825eec5use @angular/build package in library generation schematic
fix - 88431b756application migration should migrate ng-packagr builder package

@angular-devkit/architect

CommitDescription
feat - 2b8a02bacrequire build schemas from modules
fix - fe1ae6933avoid Node.js resolution for relative builder schema

@angular-devkit/core

CommitDescription
fix - ce7c4e203handle Windows drive letter case insensitivity in path functions

@angular-devkit/schematics

CommitDescription
fix - 2f55209ddupdate Rule type to support returning a Promise of Tree

@angular/build

CommitDescription
feat - 2c9d7368fadd ng-packagr builder to the package
feat - 0a570c0c2add support for customizing URL segments with i18n
feat - 298b554a7enable component template hot replacement by default
fix - d350f357bcorrectly validate locales subPath
fix - 8aa1ce608handle loaders correctly in SSR bundles for external packages
fix - 3b7e6a8c6invalidate component template updates with dev-server SSR
fix - 8fa682e57remove deleted assets from output during watch mode
fix - 48cae815cskip vite SSR warmup file configuration when SSR is disabled
fix - ba16ad6b5support incremental build file results in watch mode
fix - 955acef3dtrigger browser reload on asset changes with Vite dev server
fix - e74300a2cuse component updates for component style HMR
fix - 6a19c217ewarn when using both isolatedModules and emitDecoratorMetadata

@angular/ssr

CommitDescription
feat - 8d7a51dfcadd modulepreload for lazy-loaded routes
feat - 41ece633bredirect to preferred locale when accessing root route without a specified locale
fix - 3feecddbbdisable component boostrapping when running route extraction
fix - 6edb90883throw error when using route matchers

Deprecations

@angular/build

  • deprecated

    The baseHref option under i18n.locales and i18n.sourceLocale in angular.json is deprecated in favor of subPath.

    The subPath defines the URL segment for the locale, serving as both the HTML base HREF and the directory name for output. By default, if not specified, subPath will use the locale code.