Skip to content

About

An esbuild plugin for importing SVGs as React components.

Resources

Stars

39 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

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.

About

An esbuild plugin for importing SVGs as React components.

Resources

Stars

39 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages