{"library":"esbuild-svg","type":"library","category":null,"description":"esbuild-svg 1.0.3 is an esbuild plugin that transforms SVG files into JSX React components using SVGR under the hood. It supports both default and named exports, configurable SVGO optimization, and provides a publicPath feature via a special import suffix. Currently stable, it releases occasionally. Compared to alternatives like @svgr/webpack or vite-plugin-svgr, it is tailored specifically for esbuild and integrates tightly with its publicPath configuration. It ships TypeScript definitions and requires React (peer dependency) for JSX rendering.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-svg","imports":["import svgPlugin from 'esbuild-svg'","import { ReactComponent } from '../pic/dummy.svg'","import path from '../pic/dummy.svg?'"]},{"cmd":"yarn add esbuild-svg","imports":[]},{"cmd":"pnpm add esbuild-svg","imports":[]}],"homepage":null,"github":"https://github.com/inqnuam/esbuild-svg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-svg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}