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

[Bug] *.SVG file bypasses the inlineLimit restriction. #10794

Closed
Pszz opened this issue Mar 20, 2023 · 1 comment · Fixed by #10796
Closed

[Bug] *.SVG file bypasses the inlineLimit restriction. #10794

Pszz opened this issue Mar 20, 2023 · 1 comment · Fixed by #10796

Comments

@Pszz
Copy link

Pszz commented Mar 20, 2023

What happens?

I added the inlineLimit parameter to .umirc and it doesn't seem to work.

image

.umirc

  export default {
    npmClient: 'yarn',
    inlineLimit: 0,
  };

Mini Showcase Repository(REQUIRED)

Mini Demo: https://github.com/Pszz/umi-issues-bug

Context

  • Umi Version: 4.x
  • Node Version: v18.14.0
  • Platform:
@fz6m
Copy link
Member

fz6m commented Mar 20, 2023

可以先把 svgr: false 关了应对一下(不能以组件形式用了,url 可以),正在修复中。

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

Successfully merging a pull request may close this issue.

2 participants