esbuild-plugin-replace

JSON →
library 1.4.0 ·javascript
verified May 1, 2026

An esbuild plugin for replacing strings in files during bundling, inspired by @rollup/plugin-replace. Current stable version is 1.4.0. Release cadence appears sporadic with occasional bug fixes and feature additions. Key differentiators: provides include/exclude file filtering, configurable delimiters, and supports both flat replacement objects and a `values` option to separate replacements from plugin options. Delimiters default to word boundaries. Requires Node.js and esbuild. Ships TypeScript declarations.

total hits 11
actors 4 distinct systems
last hit 5d ago AhrefsBot
MetaBot
3
GPTBot
2
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇬🇧 United Kingdom