esbuild-plugin-ignore-module

JSON →
library 0.5.1 ·javascript
verified May 1, 2026

ESBuild plugin to ignore specific module imports during bundling. Current stable version is 0.5.1, maintained and updated occasionally. It allows you to specify module names or patterns to be replaced with empty objects, useful for stripping out server-only or optional dependencies in browser builds. Key differentiator: simple, type-safe (ships TypeScript definitions), and integrates seamlessly with ESBuild's plugin system. Alternatives like `esbuild-plugin-external` fully externalize modules, while this plugin mocks them.

total hits 12
actors 3 distinct systems
last hit 17h ago Bingbot
GPTBot
2
Search engines
1
Humans
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇮🇹 Italy