# Integrate svgr/webpack

**URL:** https://discourse.roots.io/t/integrate-svgr-webpack/27361
**Category:** bud
**Tags:** webpack, sage10
**Created:** 2024-06-24T18:00:35Z
**Posts:** 5
**Showing post:** 5 of 5

## Post 5 by @alexgm — 2024-06-24T22:20:01Z

Like i tought the problem is related at how priority is set with assets modules of webpack.

Doing so make the svgr to work but will disable _inline_ and _ressource_ in script files… For my need it’s okay i dont use thoses.

```
bud.build.rules.svg.setIssuer(/^(?!.*\.(js|ts|jsx)$).*$/);
bud.build.rules['inline-svg'].setIssuer(/^(?!.*\.(js|ts|jsx)$).*$/);
```

---

_[View the full topic](https://discourse.roots.io/t/integrate-svgr-webpack/27361)._
