npm

rollup-plugin-copy-files

0.1.1 • Public • Published

rollup-copy-plugin

Simple rollup plugin to copy files.

Usage

NB: This plugin only copies files once when rollup start, any later changes will not be copied (before you start rollup again).

import copyPlugin from 'rollup-copy-plugin';

export default {
  // ...
  plugins: [
    // ...
    copyPlugin({
      './src/test1.txt': './dist/test1.txt',
      './src/test2.txt': './dist/test2.txt',
    }),
    // ...
  ],
  // ...
};

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-copy-files

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

8.42 kB

Total Files

7

Last publish

Collaborators

  • evilpingwin