# delay-copy-webpack-plugin

> Copy files after webpack build

Latest version **1.0.2** (published 2017-09-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install delay-copy-webpack-plugin
pnpm add delay-copy-webpack-plugin
yarn add delay-copy-webpack-plugin
bun add delay-copy-webpack-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-09-25 |
| First published | 2017-09-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zhongzhi |
| Maintainers | zhongzhi |

## Links

- npm: https://www.npmjs.com/package/delay-copy-webpack-plugin
- Repository: https://github.com/zhongzhi107/delay-copy-webpack-plugin
- Homepage: https://github.com/zhongzhi107/delay-copy-webpack-plugin#readme
- Issues: https://github.com/zhongzhi107/delay-copy-webpack-plugin/issues
- npm.io page: https://npm.io/package/delay-copy-webpack-plugin

## Dependencies (2)

- [fs-extra](https://npm.io/package/fs-extra.md) *
- [packing-glob](https://npm.io/package/packing-glob.md) *

## Recent versions

- 1.0.2 (latest) — 2017-09-25
- 1.0.0 — 2017-09-21

## README

# Delay Copy Webpack plugin

This is a [webpack](http://webpack.github.io/) plugin that copies files to dest position. Compaired with other copy plugins of webpack, it copies files when webpack build process has finished.

 It uses the [glob](https://github.com/isaacs/node-glob) library to do files matching.

## Installation

Install the plugin with npm:
```shell
$ npm install delay-copy-webpack-plugin
```

## Configuration

You can pass a hash of configuration options to `DelayCopyWebpackPlugin`.
Allowed values are as follows:

- `from`: {glob} The original pattern the minimatch object represents.
- `to`: {string} Dest files save path.
- `interval`: {int} (optional) The millisecond number which delay.

## Example

```javascript
//webpack.config.js
new DelayCopyWebpackPlugin({
  from: 'webpack-assets.json',
  to: 'dist/server',
  interval: 2000
}),
```

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