2.2.1 • Published 1 year ago

@imacdonald/esbuild-plugin-svgr v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

esbuild-plugin-svgr

A plugin for esbuild that adds support for *.svg file imports as React components. This is a fork of kazijawad/esbuild-plugin-svgr that updates the dependencies to support esbuild ^0.20.0. The plugin is built on top of SVGR.

Installation

The plugin can be installed using npm.

npm i -D @imacdonald/esbuild-plugin-svgr

Basic Usage

Please reference the example directory for basic usage.

Author

This fork is maintained by Ian MacDonald. Originally by Kazi Jawad.

License

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

2.2.1

1 year ago

2.2.0

1 year ago