rollup-copy-plugin

0.1.0 • 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-copy-plugin

Weekly Downloads

186

Version

0.1.0

License

MIT

Unpacked Size

8.4 kB

Total Files

10

Last publish

Collaborators

  • eritikass