# @angular-devkit/build-webpack

> Webpack Builder for Architect

Latest version **0.2202.1** (published 2026-10-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @angular-devkit/build-webpack
pnpm add @angular-devkit/build-webpack
yarn add @angular-devkit/build-webpack
bun add @angular-devkit/build-webpack
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2202.1 |
| Published | 2026-10-01 |
| First published | 2018-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^22.22.3 \|\| ^24.15.0 \|\| >=26.0.0 |
| Dependencies | 2 |
| Unpacked size | 34 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27026 |
| Author | Angular Authors |
| Maintainers | angular, google-wombot |
| Keywords | Angular CLI, Angular DevKit, angular, devkit, sdk |

## Links

- npm: https://www.npmjs.com/package/@angular-devkit/build-webpack
- Repository: https://github.com/angular/angular-cli
- Issues: https://github.com/angular/angular-cli/issues
- npm.io page: https://npm.io/package/@angular-devkit/build-webpack

## Dependencies (2)

- [rxjs](https://npm.io/package/rxjs.md) 7.8.2
- [@angular-devkit/architect](https://npm.io/package/@angular-devkit/architect.md) 0.2202.1

## Recent versions

- 0.2202.1 (latest) — 2026-10-01
- 0.2202.0-rc.0 (next) — 2026-09-16
- 0.2102.24 (v21-lts) — 2026-09-10
- 0.2003.37 (v20-lts) — 2026-09-10
- 0.1902.27 (v19-lts) — 2026-06-02
- 0.1802.21 (v18-lts) — 2025-09-10
- 0.1703.17 (v17-lts) — 2025-04-30
- 0.1602.16 (v16-lts) — 2024-09-18
- 0.1502.11 (v15-lts) — 2024-03-25
- 0.1402.13 (v14-lts) — 2023-10-05
- 0.1303.11 (v13-lts) — 2023-03-16
- 0.1202.18 (v12-lts) — 2022-07-21
- 0.1102.19 (v11-lts) — 2022-03-31
- 0.1002.4 (v10-lts) — 2021-12-16
- 0.901.15 (v9-lts) — 2021-02-25
- … 959 more at https://npm.io/package/@angular-devkit/build-webpack/versions

## README

# Webpack Builder for Architect

This package allows you to run Webpack and Webpack Dev Server using Architect.

To use it on your Angular CLI app, follow these steps:

- run `npm install @angular-devkit/build-webpack`.
- create a webpack configuration.
- add the following targets inside `angular.json`.

```
  "projects": {
    "app": {
      // ...
      "architect": {
        // ...
        "build-webpack": {
          "builder": "@angular-devkit/build-webpack:webpack",
          "options": {
            "webpackConfig": "webpack.config.js"
          }
        },
        "serve-webpack": {
          "builder": "@angular-devkit/build-webpack:webpack-dev-server",
          "options": {
            "webpackConfig": "webpack.config.js"
          }
        }
      }
```

- run `ng run app:build-webpack` to build, and `ng run app:serve-webpack` to serve.

All options, including `watch` and `stats`, are looked up inside the webpack configuration.

---
_Source: https://npm.io/package/@angular-devkit/build-webpack · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
