A Rollup plugin to copy files or directories during the build process. Version 1.1.0, released under ISC license. It supports configurable hook execution (default buildEnd), optional path creation, and verbose logging. Differentiated from alternatives like rollup-plugin-copy by being actively maintained and simpler in configuration.
npm install rollup-plugin-copierVerified import paths — ran on the pinned version, not inferred.
Configures rollup-plugin-copier to copy a single file and a glob pattern, with path creation enabled.
Ensure the plugin runs after all transformations; consider using buildStart or writeBundle if needed.
Stop using hookOn; the plugin will use a fixed hook in the next major.
Use rollup-plugin-copy-glob or pre-expand globs before passing to copier.
Run 'npm install rollup-plugin-copier' or 'yarn add rollup-plugin-copier'.
Change to 'import copier from 'rollup-plugin-copier''
Check source path exists; set createPath: true for destination directories.
No dependency data recorded yet.