Skip to content
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

[Feature Request] svgr-webpack无法开启svgo #6502

Closed
lovewxz opened this issue Apr 28, 2021 · 1 comment
Closed

[Feature Request] svgr-webpack无法开启svgo #6502

lovewxz opened this issue Apr 28, 2021 · 1 comment

Comments

@lovewxz
Copy link

lovewxz commented Apr 28, 2021

Background

svgr-webapck中默认svgo是fasle,config没提供如何开启svgo, 满足不了一些自定义svg的场景

Proposal

config加入修改svgo的参数

Additional context

config加入修改svgo的参数

@Cyberhan123
Copy link

我提了一个pr,感觉跟你这个类似,你可以参考一下,emmm,估计最近会把依赖更新到最新版 umijs/plugins#551

@sorrycc sorrycc closed this as completed Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants