esbuild-svgr-plugin

JSON →
library 0.2.0 ·javascript
verified Apr 27, 2026

An esbuild plugin that transforms SVG imports into React components using SVGR, with built-in file-type filtering to avoid breaking non-React imports (e.g., CSS url() references). Version 0.2.0 requires esbuild ^0.14.0 and TypeScript types are included. Unlike alternatives, it defaults to processing only .js/.ts/.tjx/.tsx files to prevent loader conflicts, and allows custom filter/issuer regexes. Suitable for React projects bundled via esbuild. Release cadence is low; install via npm or yarn.

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

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇫🇷 France · 🇬🇧 United Kingdom