一覧へ戻る
TrickyPi/rollup-copy-smartly(新しいタブで開きます)
主要言語: TypeScript
a rollup copy plugin
- star 数
- 3
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 0
- 最終更新
- 2023/07/18
主要言語: TypeScript
a rollup copy plugin
Smartly copy files if they are changed, created or deleted.
npm install --save-dev rollup-copy-smartlyor
yarn add -D rollup-copy-smartlyor
pnpm add -D rollup-copy-smartlyrollup.config.js
import copy from "rollup-copy-smartly"; export default { ... plugins: [ copy({ src: "src/", pattern: /.html$/, dest: "dist/", }), ], };
| 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 |