# rollup-plugin-cp

> Simple plugin for copynig files to a new destincation

Latest version **0.1.3** (published 2017-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-cp
pnpm add rollup-plugin-cp
yarn add rollup-plugin-cp
bun add rollup-plugin-cp
```

## 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.1.3 |
| Published | 2017-08-07 |
| First published | 2017-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sergei SLY Solomonov |
| Maintainers | sly1986 |
| Keywords | rollup, copy, plugin, rollup-plugin |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-cp
- Repository: https://github.com/sly-x86/rollup-plugin-cp
- Homepage: https://github.com/sly-x86/rollup-plugin-cp#readme
- Issues: https://github.com/sly-x86/rollup-plugin-cp/issues
- npm.io page: https://npm.io/package/rollup-plugin-cp

## Dependencies (2)

- [colors](https://npm.io/package/colors.md) ^1.1.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^4.0.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.1.3 (latest) — 2017-08-07
- 0.1.2 — 2017-08-07
- 0.1.1 — 2017-08-07
- 0.1.0 — 2017-08-07

## README

# rollup-plugin-cp

Simple plugin to copy source files to new destination.

## Installation

You can use following npm command to install plugin:

```
npm install --save-dev rollup-plugin-cp
```

## Usage

Add the following lines to your `rollup.config.js`:

```javascript
import cp from 'rollup-plugin-cp';

export default {
    ...
    plugins: [
        cp({
            "src/main.css": "dist/main.css",
            "img/logo.svg": "dist/img/logo.svg",
            ...
        })
        ...
    ]
    ...
}
```

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