# deploy-webpack-plugin

> deploy-webpack-plugin === A webpack plugin to deploy complied static resources and template files to local or remote directory.

Latest version **0.0.1** (published 2017-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install deploy-webpack-plugin
pnpm add deploy-webpack-plugin
yarn add deploy-webpack-plugin
bun add deploy-webpack-plugin
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-03-17 |
| First published | 2017-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | gongruixue |
| Maintainers | xiaoping6688 |
| Keywords | deploy, webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/deploy-webpack-plugin
- Repository: https://github.com/xiaoping6688/deploy-webpack-plugin
- Issues: https://github.com/xiaoping6688/deploy-webpack-plugin/issues
- npm.io page: https://npm.io/package/deploy-webpack-plugin

## Dependencies (1)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-03-17

## README

deploy-webpack-plugin
===
A webpack plugin to deploy complied static resources and template files to local or remote directory.

### Example
```javascript 
// webpack.config.js
var DeployWebpackPlugin = require('deploy-webpack-plugin');
module.exports = {
    // ...
    plugins: [
        new DeployPlugin({
            "receiver": "http://remote_server:3333/receiver", // optional, deploy to local directory when omitted
            "staticDir": "/Users/xxx/repos/tmp/test/static", // .js,.css,images will end up here
            "tplDir": "/Users/xxx/repos/tmp/test/template" // .html ends up here
        })
    ]
};
```

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