A simple Rollup plugin that copies files from source to destination during the build process. Version 0.1.0 is the initial and only release. It copies files once when Rollup starts; subsequent changes are not watched. This is a minimal plugin for static file copying, in contrast to more feature-rich alternatives like rollup-plugin-copy that support glob patterns and watch mode. It is designed for simple use cases where files need to be placed in the output directory without transformation.
npm install rollup-copy-pluginVerified import paths — ran on the pinned version, not inferred.
Rollup configuration using rollup-copy-plugin to copy two files from src to dist.
Restart Rollup to re-copy files, or use a plugin with watch mode like rollup-plugin-copy.
Use explicit file paths or switch to rollup-plugin-copy for glob support.
Ensure output directories exist or use a plugin that creates directories automatically.
Run 'npm install rollup-copy-plugin --save-dev'
Use 'import copyPlugin from 'rollup-copy-plugin''
Check that the source path is correct relative to the Rollup config file's working directory.
No dependency data recorded yet.