{"library":"rollup-plugin-copy-glob","title":"rollup-plugin-copy-glob","description":"Rollup plugin that copies files and folders during build with glob pattern support and optional renaming. Current stable version is 0.4.1, released with infrequent updates. It is a lightweight alternative to rollup-plugin-copy, offering glob patterns and rename support out of the box, with minimal configuration. It supports Node >=12 and integrates with Rollup's watch mode for file copying on rebuild.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-copy-glob"],"cli":null},"imports":["import copy from 'rollup-plugin-copy-glob'","import type { CopyOptions } from 'rollup-plugin-copy-glob'","import type { CopyTarget } from 'rollup-plugin-copy-glob'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import copy from 'rollup-plugin-copy-glob';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife',\n    name: 'app'\n  },\n  plugins: [\n    copy([\n      { files: 'src/*.{html,css}', dest: 'dist' },\n      { files: 'src/config.template', dest: 'dist', rename: 'config.json' },\n      { files: 'dev/images/**/*.*', dest: 'dist/images' }\n    ], { verbose: true, watch: true })\n  ]\n};","lang":"javascript","description":"Shows basic setup: copy HTML/CSS files with glob, rename a config file, and copy images recursively with verbose logging and watch mode.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}