Packages

@angular-devkit/build-angular

22.2.5 · 28 Oct 2026MIT2.8M / 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

17.0.0

major8 Nov 2023Where it was published

17.3.17 is the newest release of 17.x.

In short

1 breaking1 deprecated

  • breaking

    Node.js v16 support has been removed

  • deprecated

    The browserTarget in the dev-server and extract-i18n builders have been deprecated in favor of buildTarget.

Release note

The section about @angular-devkit/build-angular of a note shared by several packages.

@angular-devkit/build-angular

CommitDescription
feat - c48982dc1add buildTarget option to dev-server and extract-i18n builders
feat - 1fb0350ebadd initial support for bundle budgets to esbuild builders
feat - 8168ae2a8apply global CSS updates without a live-reload when using vite
feat - 91019bde2enable localize support for SSR with application builder
feat - 3c0719bdeinitial i18n extraction support for application builder
feat - 8bce80b91initial support for application Web Worker discovery with esbuild
feat - 49f07a84dstandardize application builder output structure
feat - c3a87a60esupport basic web worker bundling with esbuild builders
feat - 9e425308asupport component style budgets in esbuild builders
feat - 771e036d5support deploy URL option for browser-esbuild builder
feat - c5f3ec71fsupport i18n inlining with esbuild-based builder
feat - fd62a9315support i18n with service worker and app-shell with esbuild builders
feat - 5898f72a9support namedChunks option in application builder
feat - 8f9a0d70csupport standalone apps route discovery during prerendering
fix - 6b08efa6faccount for arrow function IIFE
fix - 2f299fc7baccount for styles specified as string literals and styleUrl
fix - 9994b2ddeadd a maximum rendering timeout for SSR and SSG during development
fix - da4e19145address a path concatenation on Windows
fix - 9d4d11cc4allow SSR compilation to work with TS allowJs option
fix - e3c5b91e8automatically include known packages in vite prebundling
fix - ca38ee34cavoid binary content in architect results with browser-esbuild
fix - 657f78292avoid dev server update analysis when build fails with vite
fix - 2c33f09dbavoid dev-server proxy rewrite normalization when invalid value
fix - b182be8aaavoid in-memory prerendering ESM loader errors
fix - 0c982b993avoid repeat error clear in vite development server
fix - e41e2015bavoid spawning workers when there are no routes to prerender
fix - 2d2e79921clean up internal Angular state during rendering SSR
fix - 83020fc32clear diagnostic cache when external templates change with esbuild builders
fix - c12f98f94conditionally enable deprecated Less stylesheet JavaScript support
fix - e10f49efaconvert AOT compiler exceptions into diagnostics
fix - 667f43af6correctly resolve polyfills when baseUrl URL is not set to root
fix - d46fb128adisable dependency optimization for SSR
fix - 1b384308cdisable parallel TS/NG compilation inside WebContainers
fix - 070da72c4do not perform advanced optimizations on @angular/common/locales/global
fix - 508c7606edo not print Angular is running in development mode. in the server console when running prerender in dev mode
fix - e817656f6do not print Angular is running in development mode. in the server console when running prerender in dev mode
fix - f806e3498elide setClassDebugInfo calls
fix - 188a00f3eelide setClassMetadataAsync calls
fix - 05ce9d697ensure all SSR chunks are resolved correctly with dev server
fix - d392d653censure correct web worker URL resolution in vite dev server
fix - 1a6aa4378ensure css url() prefix warnings support Sass rebasing
fix - 52f595655ensure i18n locale data is included in SSR application builds
fix - 3ad028bb4ensure localize polyfill and locale specifier are injected when not inlining
fix - 3e5a99c2censure recalculation of component diagnostics when template changes
fix - fa234a418ensure secondary Angular compilations are unblocked on start errors
fix - c0c7dad77ensure that externalMetadata is defined
fix - ac7caa426ensure unique internal identifiers for inline stylesheet bundling
fix - 1f73bcc49ensure Web Worker code file is replaced in esbuild builders
fix - 23a722b79exclude node.js built-ins from vite dependency optimization
fix - fd2c4c324expose ssr-dev-server builder in the public api
fix - 9eb58cf7afail build on non bundling error when using the esbuild based builders
fix - a3e9efe80fully track Web Worker file changes in watch mode
fix - b9505ed09generate a file containing a list of prerendered routes
fix - 192a2ae6bhandle HTTP requests to assets during prerendering
fix - 19191e32bhandle HTTP requests to assets during SSG in dev-server
fix - 8981d8c35improve sharing of TypeScript compilation state between various esbuild instances during rebuilds
fix - 5a3ae0159in vite skip SSR middleware for path with extensions
fix - f87f22d3fkeep dependencies pre-bundling validate between builds
fix - 0da87bf1climit concurrent output file writes with application builder
fix - 391ff78cblog number of prerendered routes in console
fix - c46f312admedia files download files in vite
fix - 87425a791normalize paths when invalidating stylesheet bundler
fix - d4f37da50only show changed output files in watch mode with esbuild
fix - 0d54f2d20only watch used files with application builder
fix - 1f299ff2dprebundle dependencies for SSR when using Vite
fix - 58bd3971fprocess nested tailwind usage in application builder
fix - 60ca3c82dprovide server baseUrl result property in Vite-based dev server
fix - 0c20cc4dcre-add TestBed compileComponents in schematics to support defer block testing
fix - 9453a2380remove CJS usage warnings for inactionable packages
fix - 5bf7022c4remove support for Node.js v16
fix - c27ad719fremove unactionable error overlay suggestion from Vite-based dev server
fix - 263271faeresolve and load sourcemaps during prerendering to provide better stacktraces
fix - 651e3195fresolve and load sourcemaps when using vite dev server with prerendering and ssr
fix - b78508fc8several fixes to assets and files writes in browser-esbuild builder
fix - c4c299bcesilence xhr2 not ESM module warning
fix - f7f6e97d0skip checking CommonJS module descendants
fix - c11a0f0d3support custom index option paths in Vite-based dev server
fix - 6c3d7d1c1update ssr option definition
fix - 4e89c3caeuse a dash in bundle names
fix - 83b4b2567use browserslist when processing global scripts in application builder
fix - ca4d1634fuse component style load result caching information for file watching
fix - 34947fc64use incremental component style bundling only in watch mode
fix - ec160fe4ewarn if using partial mode with application builder
fix - 559e89159Windows Node.js 20 prerendering failure (#26186)
perf - 2cbec36c7cache polyfills virtual module result
perf - e06e95f73conditionally add Angular compiler plugin to polyfills bundling
perf - 61f409cbedisable ahead of time prerendering in vite dev-server
perf - 01ab16c5dfully avoid rebuild of component stylesheets when unchanged
perf - 99d9037eeonly perform a server build when either prerendering, app-shell or ssr is enabled
perf - c013a95e2only rebundle browser polyfills on explicit changes
perf - e68a662bconly rebundle global scripts/styles on explicit changes
perf - 28d9ab88fonly rebundle server polyfills on explicit changes
perf - 6d3942723optimize server or browser only dependencies once
perf - 2e8e9d802patch fetch to load assets from memory
perf - 49fe74e24reduce CLI loading times by removing critters from critical path
perf - 07e2120daremove JavaScript transformer from server polyfills bundling
perf - c28475d30reuse esbuild generated output file hashes
perf - 59c22aa4cstart SSR dependencies optimization before the first request
perf - 223a82f5fuse incremental bundling for component styles in esbuild builders
perf - 4b67d2afduse single JS transformer instance during dev-server prebundling

Breaking Changes

@angular-devkit/build-angular

  • breaking

    Node.js v16 support has been removed

    Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17.
    For Node.js release schedule details, please see: github.com/nodejs/release

Deprecations

@angular-devkit/build-angular

  • deprecated

    The browserTarget in the dev-server and extract-i18n builders have been deprecated in favor of buildTarget.