2.0.0 • Published 10 months ago
rollup-copy-smartly v2.0.0
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/",
}),
],
};