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(build): JSDoc svg to png base64 #646

Merged
merged 2 commits into from
Jul 21, 2024

Conversation

Wxh16144
Copy link
Member

#635 (comment) 评论中,IntelliJ IDEA 不支持 svg 格式的支持。 所以改进转换 base64 方法,将 svg2png => png2base64 这样的步骤.

IntelliJ IDEA

image

Visual Studio Code

image

@Wxh16144
Copy link
Member Author

Wxh16144 commented May 23, 2024

image image

😢 这体积直接爆炸💥...

@afc163
Copy link
Member

afc163 commented May 23, 2024

这样包体积会大多少?

@Wxh16144
Copy link
Member Author

这样包体积会大多少?

npm notice package size: 3.6 MB
npm notice unpacked size: 17.5 MB

@afc163 afc163 merged commit e2b1dd6 into ant-design:master Jul 21, 2024
4 checks passed
afc163 added a commit that referenced this pull request Jul 21, 2024
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.

2 participants