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

BREAKING CHANGE: rm svg sprite #1039

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

SevereCloud
Copy link
Contributor

@SevereCloud SevereCloud commented Nov 29, 2024

Изменения

Избавляемся от svg спрайта

Был svg спрайт, теперь будет иконка. Это улучшает первую отрисовку для SSG/SSR, а также лучше по перфомансу

Избавляемся от cjs

Выпиливаем cjs во всех пакетах. Как минимум hast-util-from-html требует esm, а cjs иконки не умеют в тришейкинг

@SevereCloud SevereCloud force-pushed the SevereCloud/BREAKING-CHANGE/rm-svg-sprite branch from 86354fd to 3bc094e Compare November 29, 2024 13:10
Copy link

👀 Docs deployed

See the docs for this PR at https://vkcom.github.io/icons/pull/1039/

Copy link

github-actions bot commented Nov 29, 2024

size-limit report 📦

Path Size
JS 3.58 MB (-11.41% 🔽)
JS (gzip) 907.68 KB (-8.99% 🔽)
JS (brotli) 660.93 KB (-7.74% 🔽)
JS ES6 with Icon16Add only import (tree shaking) 2.19 KB (-59.27% 🔽)
SVG 3.86 MB (0%)

@SevereCloud SevereCloud force-pushed the SevereCloud/BREAKING-CHANGE/rm-svg-sprite branch 2 times, most recently from 4f29572 to 1deb49c Compare November 29, 2024 13:58
@SevereCloud SevereCloud self-assigned this Dec 2, 2024
@SevereCloud SevereCloud force-pushed the SevereCloud/BREAKING-CHANGE/rm-svg-sprite branch from 1deb49c to 9d60798 Compare December 3, 2024 18:05
@SevereCloud SevereCloud changed the base branch from master to v3-dev December 3, 2024 18:05
@SevereCloud SevereCloud marked this pull request as ready for review December 3, 2024 18:11
@SevereCloud SevereCloud force-pushed the SevereCloud/BREAKING-CHANGE/rm-svg-sprite branch from 9d60798 to f90a131 Compare December 3, 2024 18:27
Copy link
Contributor

@inomdzhon inomdzhon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀

@SevereCloud SevereCloud merged commit 5722d05 into v3-dev Dec 5, 2024
6 checks passed
@SevereCloud SevereCloud deleted the SevereCloud/BREAKING-CHANGE/rm-svg-sprite branch December 5, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants