{"library":"rollup-plugin-copy","title":"rollup-plugin-copy","description":"Rollup plugin to copy files and folders during the build process, with glob support. Current stable version is 3.5.0. The plugin runs on the buildEnd hook by default, supports rename and transform of file contents, and can copy once in watch mode. It is actively maintained with regular releases. Key differentiators include synchronous copy option, flatten option to preserve directory structure, and TypeScript type definitions.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-copy"],"cli":null},"imports":["import copy from 'rollup-plugin-copy'","import type { CopyOptions } from 'rollup-plugin-copy'","import type { Target } from 'rollup-plugin-copy'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport copy from 'rollup-plugin-copy'\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/app.js',\n    format: 'cjs'\n  },\n  plugins: [\n    copy({\n      targets: [\n        { src: 'src/index.html', dest: 'dist/public' },\n        { src: 'assets/images/**/*', dest: 'dist/public/images' }\n      ],\n      verbose: true\n    })\n  ]\n}","lang":"typescript","description":"Minimal rollup config to copy an HTML file and images using glob patterns with verbosity.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}