Skip to content

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