-
Is it possible to compose plugins? In my specific use case, I'd like to use the `esbuild-svgr-plugin` for SVG files that contain `icon` in their path, and use the `file` loader for all other SVG files…
-
### Current Behavior
We are using Nx to create an npm package, which we then publish to a private npm registry. This package includes images, and we have two options for handling them:
1. Embed …
-
Issue Description:
Encountered an error: TypeError: Cannot read properties of undefined (reading '0')
Solution:
```
// Install the necessary plugins via yarn:
yarn add -D @svgr/plugin-svgo
y…
-
If I set background-image to an SVG in CSS like this:
```
background-image: url('path/to/image.svg')
```
it does not work
but if I import it in jsx file like this:
```
import SVG from 'path/to/…
-
So I was working on a project where I wanna setup svgr inside a tsup package in turborepo.
This is my tsup config
```ts
import type { Options } from "tsup";
import { defineConfig } from "tsup";…
-
## 🐛 Bug Report
![image](https://user-images.githubusercontent.com/22767695/186323528-37c4f63e-9b44-4dac-a690-fd4a4670f157.png)
## To Reproduce
1. copy a svg file to the assets folder
2.…
-
## 🐛 Bug Report
After upgrading from v5 to v6 the template no longer keeps an empty line between the imports and component.
## To Reproduce
Steps to reproduce the behavior:
I am using …
-
## Issue with Upgrading `vite-plugin-svgr` from Version 3.3.0 to 4.2.0: SVG Import Errors
### Description of the Issue
After updating `vite-plugin-svgr` from version 3.3.0 to 4.2.0,
I am encount…
-
```shell
❯ npm audit
# npm audit report
nth-check
-
## 🐛 Bug Report
When use @svgr/webpack loader with Storybook 6.5.16 got the error on build
```
ModuleBuildError: Module build failed (from ./node_modules/@svgr/webpack/dist/index.js):
TypeErr…