npm.io
3.1.1 • Published 1 year ago

esbuild-plugin-svgr

Licence
MIT
Version
3.1.1
Deps
2
Size
4 kB
Vulns
0
Weekly
82.6K
Stars
39

esbuild-plugin-svgr

A plugin for esbuild that adds support for *.svg file imports as React components. The plugin is built on top of SVGR.

Installation

The plugin can be installed using npm.

npm i -D esbuild-plugin-svgr

Basic Usage

Please reference the example directory for basic usage.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.