Skip to content

weifeiyue/rollup-plugin-deepcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

option type description
src string Path to dir which will be watching, it could be absolute path or relative path
pattern RegExp or RegExp[ ] Filter specific files
dest string or string[ ] Paths to dir which are output directorys, it could be absolute path or relative path

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published