dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
https://craco.js.org
Apache License 2.0
7.43k stars 499 forks source link

How to config svgr in create react app #497

Open vankiet735 opened 1 year ago

vankiet735 commented 1 year ago

I'm trying to configure to use @svgr/webpack . library but failed. My configuration is in the "rules" section. Please give me advice. Thank you. This is my code image image image

And this is error: image

And this is code of library image