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

chore: config svg float precision #6761

Merged
merged 3 commits into from
Feb 10, 2025
Merged

Conversation

Aarebecca
Copy link
Contributor

@Aarebecca Aarebecca commented Feb 10, 2025

  • 配置 SVGO 插件,将 Path.d、Transform、属性值的精度保留到 4 位,避免不同设备出现的精度不一致问题

已知问题:

SVGO convertPathData.forceAbsolutePath 不生效,会强制使用相对坐标/绝对坐标长度较短的一个

@Aarebecca Aarebecca merged commit 0c818c0 into v5 Feb 10, 2025
3 checks passed
@Aarebecca Aarebecca deleted the chore/config-svg-float-precision branch February 10, 2025 07:19
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 this pull request may close these issues.

1 participant