Skip to content

Adding official esbuild support #986

@willyelm

Description

@willyelm

🚀 Feature Proposal

Adding a new package to support building using svgr and esbuild. it could be: @svgr/esbuild.

Motivation

There are some utilities to achieve a similar behaivor but they are not as good as it could be if we had one here in the SVGR repository. I volunteer to implement this if nessesary.

Example

It would be used as a esbuild plugin for projects that only rely on esbuild.

Pitch

Same as the motivation, I would like to see this package to be the default go-to and cover developers who have specific needs like importing SVG as JSX components, and since esbuild is a popular bundler it only makes sense to support it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions