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.0.0

major19 Nov 2024Where it was published

19.2.27 is the newest release of 19.x.

In short

6 breaking

  • breaking

    The app-shell schematic is no longer compatible with Webpack-based builders.

  • breaking

    The browserTarget option has been removed from the DevServer and ExtractI18n builders. buildTarget is to be used instead.

  • breaking

    Protractor is no longer supported.

  • breaking

    The deprecated fileBuffer function is no longer available. Update your code to use stringToFileBuffer instead to maintain compatibility.

  • breaking

    The @angular/localize/init polyfill will no longer be added automatically to projects. To prevent runtime issues, ensure that this polyfill is manually included in the "polyfills" section of your "angular.json" file if your application relies on Angular localization features.

  • breaking

    The CommonEngine API now needs to be imported from @angular/ssr/node.

Release note

@angular/cli

CommitDescription
feat - 201b60e1dhandle string key/value pairs, e.g. --define
fix - b847d4460recommend optional application update migration during v19 update
perf - f249e7e85enable Node.js compile code cache when available
perf - ecc107d83enable Node.js compile code cache when available

@schematics/angular

CommitDescription
feat - a381a3db1add option to export component as default
feat - 755f3a07fadd option to setup new workspace or application as zoneless mode
feat - cfca5442eintegrate withEventReplay() in provideClientHydration for new SSR apps
feat - 292a4b7c2update app-shell and ssr schematics to adopt new Server Rendering API
fix - b1504c3bccomponent spec with export default
fix - 4b4e000dddon't show server routing prompt when using browser builder
fix - 4e2a5fe15enable opt-in for new @angular/ssr feature
fix - fcf7443d6explicitly set standalone:false
fix - 7992218a9remove declaration and sourceMap from default tsconfig
fix - 9e6ab1bf2use default import for express

@angular-devkit/schematics-cli

CommitDescription
feat - 37693c40eadd package manager option to blank schematic

@angular-devkit/architect

CommitDescription
feat - 78f76485fmerge object options from CLI

@angular-devkit/build-angular

CommitDescription
feat - 0a4ef3026karma-coverage w/ app builder
feat - dcbdca85ckarma+esbuild+watch
feat - 54594b5absupport karma with esbuild
fix - ea5ae68dabring back style tags in browser builder
fix - 476f94f51fix --watch regression in karma
fix - 25d928b4ffix hanging terminal when browser-sync is not installed
fix - 2ec877dd0handle basename collisions
fix - ab6e19e1fhandle main field
fix - 43e7aae22remove double-watch in karma
fix - 1e37b5939serve assets
fix - 9d7613db9zone.js/testing + karma + esbuild
refactor - e40384e63remove deprecated browserTarget
refactor - 62877bdf2remove Protractor builder and schematics

@angular-devkit/core

CommitDescription
refactor - 0d8a1006dremove deprecated fileBuffer function in favor of stringToFileBuffer

@angular/build

CommitDescription
feat - b6951f448add sass to stylePreprocessorOptions in application builder
feat - efb434136Auto-CSP support as a part of angular.json schema
feat - 816e3cb86enable component stylesheet hot replacement by default
feat - 3b00fc908introduce outputMode option to the application builder
feat - 7d883a152introduce ssr.experimentalPlatform option
feat - c48d6947eset development/production condition
feat - f63072668utilize ssr.entry during prerendering to enable access to local API routes
feat - bbc290133utilize ssr.entry in Vite dev-server when available
fix - 5a7a2925badd missing redirect in SSR manifest
fix - 06e5176c2add warning when --prerendering or --app-shell are no-ops
fix - ecaf870b5always clear dev-server error overlay on non-error result
fix - f8677f6a9always record component style usage for HMR updates
fix - 099e477a8avoid hashing development external component stylesheets
fix - 3602bbb77avoid overwriting inline style bundling additional results
fix - 71534aadccheck referenced files against native file paths
fix - fed31e064correctly use dev-server hmr option to control stylesheet hot replacement
fix - b86bb080edisable dev-server websocket when live reload is disabled
fix - 7c50ba9e2ensure index.csr.html is always generated when prerendering or SSR are enabled
fix - efb2232dfensure accurate content size in server asset metadata
fix - 18a8584eaensure SVG template URLs are considered templates with external stylesheets
fix - 7502fee28Exclude known --import from execArgv when spawning workers
fix - 2551df533fully disable component style HMR in JIT mode
fix - c41529cc1handle APP_BASE_HREF correctly in prerendered routes
fix - 87a90afd4incomplete string escaping or encoding
fix - 1bb68ba68move lmdb to optionalDependencies
fix - a995c8ea6prevent prerendering of catch-all routes
fix - 1654acf0frelax constraints on external stylesheet component id
fix - 0d4558ea5set ngServerMode during vite prebundling
fix - 55d7f01b6simplify disabling server features with --no-server via command line
fix - cf0228b82skip wildcard routes from being listed as prerendered routes
fix - af52fb49bsynchronize import/export conditions between bundler and TypeScript
fix - 6c618d495update logic to support both internal and external SSR middlewares
fix - bfa8fec9buse named export reqHandler for server.ts request handling
fix - c8e1521a2workaround Vite CSS ShadowDOM hot replacement
refactor - d6a34034dremove automatic addition of @angular/localize/init polyfill and related warnings

@angular/ssr

CommitDescription
feat - 92209dd2eadd createRequestHandler and createNodeRequestHandler utilities
feat - 41fb2ed86Add getHeaders Method to AngularAppEngine and AngularNodeAppEngine for handling pages static headers
feat - f346ee8a8add isMainModule function
feat - d66aaa3caadd server routing configuration API
feat - bca568389dynamic route resolution using Angular router
feat - 30c25bf68export AngularAppEngine as public API
feat - 455b5700cexpose writeResponseToNodeResponse and createWebRequestFromNodeRequest in public API
feat - 9692a9054improve handling of aborted requests in AngularServerApp
feat - 576ff604cintroduce AngularNodeAppEngine API for Node.js integration
feat - 3c9697a8cintroduce new hybrid rendering API
feat - 4b09887a9move CommonEngine API to /node entry-point
fix - d43180af5add missing peer dependency on @angular/platform-server
fix - 74b3e2d51add validation to prevent use of provideServerRoutesConfig in browser context
fix - 2640bf7a6correct route extraction and error handling
fix - 44077f54edesignate package as side-effect free
fix - df4e1d360enable serving of prerendered pages in the App Engine
fix - 0793c78cfensure wildcard RenderMode is applied when no Angular routes are defined
fix - 65b6e75a5export RESPONSE_INIT, REQUEST, and REQUEST_CONTEXT tokens
fix - 4ecf63a77export PrerenderFallback
fix - 50df63196improve handling of route mismatches between Angular server routes and Angular router
fix - 3cf7a5223initialize the DI tokens with null to avoid requiring them to be set to optional
fix - 85df4011bresolve bootstrap is not a function error
fix - e9c9e4995resolve circular dependency issue from main.server.js reference in manifest
fix - 64c52521dshow error when multiple routes are set with RenderMode.AppShell
fix - 280ebbda4support for HTTP/2 request/response handling
fix - fb05e7f0ause wildcard server route configuration on the '/' route when the app router is empty
perf - 12ff37adbcache generated inline CSS for HTML
perf - 1d70e3b46cache resolved entry-points
perf - f460b91d4integrate ETags for prerendered pages
perf - e52ae7f6fprevent potential stampede in entry-points cache

Breaking Changes

@schematics/angular

  • breaking

    The app-shell schematic is no longer compatible with Webpack-based builders.

@angular-devkit/build-angular

@angular-devkit/core

  • breaking

    The deprecated fileBuffer function is no longer available. Update your code to use stringToFileBuffer instead to maintain compatibility.

    Note: that this change does not affect application developers.

@angular/build

  • breaking

    The @angular/localize/init polyfill will no longer be added automatically to projects. To prevent runtime issues, ensure that this polyfill is manually included in the "polyfills" section of your "angular.json" file if your application relies on Angular localization features.

@angular/ssr

  • breaking

    The CommonEngine API now needs to be imported from @angular/ssr/node.

    Before

    import { CommonEngine } from '@angular/ssr';

    After

    import { CommonEngine } from '@angular/ssr/node';