0.1.3 • Published 7 years ago

rollup-plugin-cp v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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:

import cp from 'rollup-plugin-cp';

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