-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have the ability to set SVGR built-in configuration #389
Comments
You can use the modifyBundlerConfig // doczrc.js
export default {
modifyBundlerConfig: (config) => {
/* custom loaders */
config.module.rules.push({
test: /\.svg$/,
use: '@svgr/webpack',
});
return config
}
} |
@lasimonne In your example you add the |
@danielbayerlein I might have misunderstood you, are you talking about |
@lasimonne Thanks, I did not know the configuration file! But it looks like the configuration file is ignored. 😕 |
Hi @danielbayerlein, that's is something that we need to put on doczrc. I'll do that and put for the last release 🙏 |
Hi @pedronauck, thank you! You can configure |
oh, really? and this work actually with docz too @danielbayerlein ? |
@pedronauck Yes, the configuration file |
Cool! So, I'll let just this config instead of put a new property on doczrc, thanks to the tip dude 🙏 |
Question
How can I configure the SVGR built-in?
My current loader looks like this:
The text was updated successfully, but these errors were encountered: