# @web/rollup-plugin-copy

> Rollup plugin which copies asset files while retaining the relative folder structure.

Latest version **1.0.1** (published 2026-11-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @web/rollup-plugin-copy
pnpm add @web/rollup-plugin-copy
yarn add @web/rollup-plugin-copy
bun add @web/rollup-plugin-copy
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2026-11-10 |
| First published | 2020-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.0.0 |
| Dependencies | 1 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2457 |
| Author | modern-web |
| Maintainers | d4kmor, passle, jorenbroekema, bennyp, larsdenbakker, westbrook, modern-web |
| Keywords | rollup, plugin, copy |

## Links

- npm: https://www.npmjs.com/package/@web/rollup-plugin-copy
- Repository: https://github.com/modernweb-dev/web
- Homepage: https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-copy
- Issues: https://github.com/modernweb-dev/web/issues
- npm.io page: https://npm.io/package/@web/rollup-plugin-copy

## Dependencies (1)

- [glob](https://npm.io/package/glob.md) ^10.0.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2026-11-10
- 0.0.0-canary-20240219104536 (canary) — 2024-02-19
- 1.0.0 — 2026-07-07
- 0.0.0-canary-20240219104126 — 2024-02-19
- 0.0.0-canary-20240212171943 — 2024-02-12
- 0.0.0-canary-20240105101412 — 2024-01-05
- 0.0.0-canary-20240105095248 — 2024-01-05
- 0.0.0-canary-20240105093823 — 2024-01-05
- 0.0.0-canary-20240105092607 — 2024-01-05
- 0.0.0-canary-20240105091725 — 2024-01-05
- 0.0.0-canary-20231122093600 — 2023-11-22
- 0.5.1 — 2023-11-13
- 0.5.0 — 2023-11-01
- 0.4.1 — 2023-10-19
- 0.4.0 — 2023-04-21
- … 10 more at https://npm.io/package/@web/rollup-plugin-copy/versions

## README

# Rollup Plugin Copy

A Rollup plugin which copies asset files while retaining the relative folder structure.

See [our website](https://modern-web.dev/docs/building/rollup-plugin-copy/) for full documentation.

---
_Source: https://npm.io/package/@web/rollup-plugin-copy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
