1.0.1 • Published 1 year ago

rollup-plugin-deepcopy v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

rollup-plugin-deepcopy

Features

copy files if they are changed, created or deleted.

Getting Started

npm install --save-dev rollup-plugin-deepcopy

or

yarn add -D rollup-plugin-deepcopy

or

pnpm add -D rollup-plugin-deepcopy

Use

rollup.config.js

import copy from "rollup-plugin-deepcopy";
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
1.0.1

1 year ago

1.0.0

1 year ago