esbuild-plugin-file-copy

JSON →
library 2.0.0-next.0 ·javascript
verified Jun 4, 2026

An esbuild plugin that copies specified files and directories (including glob patterns) to the output folder after bundling. Current version 2.0.0-next.0 is a pre-release. Release cadence is irregular; the plugin is stable but not widely used. Differentiators: lightweight, no external dependencies, supports both exact file paths and glob patterns, and works alongside esbuild without altering the bundling process. TypeScript types included. Suitable for including static assets like images, configuration files, or any non-code artifacts in the esbuild output.