# yyl-server-webpack-plugin

> yyl server webpack plugin

Latest version **1.3.2** (published 2021-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install yyl-server-webpack-plugin
pnpm add yyl-server-webpack-plugin
yarn add yyl-server-webpack-plugin
bun add yyl-server-webpack-plugin
```

## Health

**Score 25/100 (F)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.2 |
| Published | 2021-05-16 |
| First published | 2021-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 25.1 KB |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| Author | jackness1208 |
| Maintainers | jackness |

## Links

- npm: https://www.npmjs.com/package/yyl-server-webpack-plugin
- Repository: https://github.com/jackness1208/yyl-server-webpack-plugin
- Homepage: https://github.com/jackness1208/yyl-server-webpack-plugin#readme
- Issues: https://github.com/jackness1208/yyl-server-webpack-plugin/issues
- npm.io page: https://npm.io/package/yyl-server-webpack-plugin

## Dependencies (8)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [tapable](https://npm.io/package/tapable.md) ^2.2.0
- [@types/express](https://npm.io/package/@types/express.md) ^4.17.11
- [yyl-config-types](https://npm.io/package/yyl-config-types.md) ^0.5.3
- [http-proxy-middleware](https://npm.io/package/http-proxy-middleware.md) ^1.1.0
- [yyl-webpack-plugin-base](https://npm.io/package/yyl-webpack-plugin-base.md) ^0.2.1
- [@types/webpack-dev-server](https://npm.io/package/@types/webpack-dev-server.md) ^3.11.2
- [@types/http-proxy-middleware](https://npm.io/package/@types/http-proxy-middleware.md) ^1.0.0

## Recent versions

- 1.3.2 (latest) — 2021-05-16
- 1.3.1 — 2021-05-16
- 1.3.0 — 2021-05-07
- 1.2.5 — 2021-04-18
- 1.2.4 — 2021-04-08
- 1.2.3 — 2021-04-08
- 1.2.2 — 2021-04-04
- 1.2.1 — 2021-04-04
- 1.2.0 — 2021-04-04
- 1.1.4 — 2021-03-10
- 1.1.3 — 2021-03-10
- 1.1.2 — 2021-03-10
- 1.1.1 — 2021-03-10
- 1.1.0 — 2021-03-10
- 1.0.5 — 2021-03-06
- … 5 more at https://npm.io/package/yyl-server-webpack-plugin/versions

## README

# yyl-server-webpack-plugin

## 安装

```
yarn add yyl-server-webpack-plugin
```

## 使用

```typescript
// webpack.config.js
import YylServerWebpackPlugin from 'yyl-server-webpack-plugin'

module.exports = {
  plugins: [
    new YylServerWebpackPlugin({
      context: __dirname,
      static: './dist',
      port: 5000,
      enable: true,
      homePage: 'http://127.0.0.1:5000/html/index.html',
      proxy: {
        enable: true,
        hosts: ['//www.testhost.com']
      }
    })
  ]
}
```

## types

[这里](./docs/modules.md)

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