2.0.0 • Published 10 months ago

rollup-copy-smartly v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

rollup-copy-smartly

Features

Smartly copy files if they are changed, created or deleted.

Getting Started

npm install --save-dev rollup-copy-smartly

or

yarn add -D rollup-copy-smartly

or

pnpm add -D rollup-copy-smartly

Use

rollup.config.js

import copy from "rollup-copy-smartly";
export default {
    ...
    plugins: [
        copy({
            src: "src/",
            pattern: /.html$/,
            dest: "dist/",
        }),
    ],
};

Options

optiontypedescription
srcstringPath to dir which will be watching, it could be absolute path or relative path
patternRegExp or RegExp Filter specific files
deststring or string Paths to dir which are output directorys, it could be absolute path or relative path
2.0.0

10 months ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago