# @webpack-cli/serve

Latest version **3.0.1** (published 2024-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @webpack-cli/serve
pnpm add @webpack-cli/serve
yarn add @webpack-cli/serve
bun add @webpack-cli/serve
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2024-12-20 |
| First published | 2018-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=18.12.0 |
| Dependencies | 0 |
| Unpacked size | 11.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2616 |
| Maintainers | ev1stensberg, ematipico, evilebottnawi |

## Links

- npm: https://www.npmjs.com/package/@webpack-cli/serve
- Repository: https://github.com/webpack/webpack-cli
- Homepage: https://github.com/webpack/webpack-cli/tree/master/packages/serve
- npm.io page: https://npm.io/package/@webpack-cli/serve

## Recent versions

- 3.0.1 (latest) — 2024-12-20
- 1.0.1-rc.1 (next) — 2020-10-06
- 1.0.1-alpha.5 (beta) — 2020-03-02
- 3.0.0 — 2024-12-19
- 2.0.5 — 2023-06-04
- 2.0.4 — 2023-05-09
- 2.0.3 — 2023-05-07
- 2.0.2 — 2023-04-21
- 2.0.1 — 2022-12-05
- 2.0.0 — 2022-11-17
- 1.7.0 — 2022-06-13
- 1.6.1 — 2022-01-24
- 1.6.0 — 2021-10-06
- 1.5.2 — 2021-08-15
- 1.5.1 — 2021-06-07
- … 24 more at https://npm.io/package/@webpack-cli/serve/versions

## README

# webpack-cli serve

[![NPM Downloads][downloads]][downloads-url]

> **Note**
>
> This package is used by webpack-cli under-the-hood and is not intended for installation

## Description

This package contains the logic to run [webpack-dev-server](https://github.com/webpack/webpack-dev-server) to serve your webpack app and provide live reloading.

## Installation

```bash
npm i -D webpack-cli @webpack-cli/serve
```

## Usage

### CLI (via `webpack-cli`)

```bash
npx webpack-cli serve
```

### Options

Checkout [`SERVE-OPTIONS-v4.md`](https://github.com/webpack/webpack-cli/blob/master/SERVE-OPTIONS-v4.md) or [`SERVE-OPTIONS-v5.md`](https://github.com/webpack/webpack-cli/blob/master/SERVE-OPTIONS-v5.md) to see list of all available options for `serve` command for respective [`webpack-dev-server`](https://github.com/webpack/webpack-dev-server) version.

[downloads]: https://img.shields.io/npm/dm/@webpack-cli/serve.svg
[downloads-url]: https://www.npmjs.com/package/@webpack-cli/serve

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