-
Hello i just installed this module in a vite/react-ts project, i'm getting this error when i'm importing an SVG
`import { ReactComponent as HomeIcon } from "images/icons/IconSvg/home.svg"
`
The…
-
```
build: {
sourcemap: true,
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes('node_modules')) {
return id
…
-
## 🐛 Bug Report
If a global svgo.config.js is defined (eg. in home directory), svgr may fail to load some SVGs.
## To Reproduce
Load SVGs with "@svgr/webpack" loader. Do not define any paramete…
-
## 🐛 Bug Report
SVGR doesn't seems to contain any option to sanitize SVGs
![Screenshot 2023-10-17 at 9 23 37](https://github.com/gregberge/svgr/assets/2685242/7580c72d-f960-4daf-a73b-39c22f6537d2)…
-
# 🐛 bug report
Seems like this was reported before wrt `posthtml-md`, `posthtmlrc` and `htmlnanorc`
- 2018 https://github.com/parcel-bundler/parcel/issues/2151
- 2020 https://github.com/parce…
okwme updated
3 months ago
-
C:\Users\**re\workspace\>npm audit
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
# npm audit report
nth-check
-
Use SVG element imports rather than file paths
Use something like `@svgr/webpack` with the following config:
```ts
declare module "*.svg" {
const content: React.FunctionComponent;
exp…
-
Hi,
first of all thank you for you work that you're doing!
I am trying out to use both the following plugins
```
import { pluginSvgr } from '@rsbuild/plugin-svgr';
import { pluginTypeCheck }…
-
## 🐛 Bug Report
A clear and concise description of what the bug is.
I inactived the removal of viewBox as follows in version 6.5.1
```js
// https://react-svgr.com/docs/next/
// next.confi…
-
### Version
```sh
System:
OS: Windows 11 10.0.22631
CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
Memory: 17.85 GB / 31.21 GB
Browsers:
Edge: Chromium (127.0.2651.105)
…