Gem 一覧へ戻る
zont/rollup-plugin-copy-glob(新しいタブで開きます)
主要言語: JavaScript
- star 数
- 9
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 2
- 最終更新
- 2025/11/18
主要言語: JavaScript
Rollup plugin to easily copy files and folders. Glob supported. Rename supported
npm i -D rollup-plugin-copy-glob
import copy from 'rollup-plugin-copy-glob'; export default { input: 'src/index.js', output: { file: 'dist/bundle.js', format: 'iife', name: 'app' }, plugins: [ copy([ { files: 'src/*.{html,css}', dest: 'dist' }, { files: 'src/config.template', dest: 'dist', rename: 'config.json' }, { files: 'dev/images/**/*.*', dest: 'dist/images' } ], { verbose: true, watch: true }) ] };
false). Enable/disable loggingprocess.env.ROLLUP_WATCH). Enable/disable watching. If disabled then copy only on start.