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

Responding to new repository for static icon asset #2229

Open
1 of 3 tasks
yangwooseong opened this issue May 20, 2024 · 1 comment
Open
1 of 3 tasks

Responding to new repository for static icon asset #2229

yangwooseong opened this issue May 20, 2024 · 1 comment
Assignees
Labels
epic Issue consisting of multiple issues of the same purpose

Comments

@yangwooseong
Copy link
Collaborator

yangwooseong commented May 20, 2024

Summary

  • 채널 팀의 내부 사정에 따라 정적으로 아이콘을 가지고 있는 레포지토리(가칭: beizer-asset)를 생성하고, bezier-icons 에서 이 레포지토리에 있는 svg를 활용할 예정입니다. 그에 따라서 bezier-icons, bezier-figma-plugin 패키지의 역할이 변경되어야 하기 때문에 대응이 필요합니다. 예를 들면 현재는 bezier-icons 에서 빌드 타임에 svg 최적화를 진행하지만, 이제 bezier-asset 에 svg 최적화를 진행한 상태에서 에셋을 업로드 해야합니다. 이에 따라 bezier-figma-plugin에서 런타임에 svgo를 호출해야 합니다. 또한, bezier-icons에서 적용하고 있는 web specific한 최적화 옵션을 그대로 주는 것이 좋을 지 고민이 필요합니다.

추가)

  • bezier-figma-plugin 에서 svgo optimize 를 적용하면 require('os') 와 같은 모듈을 사용하지 못해서 에러가 뜨는 문제가 있음. plugin에서는 svg를 그대로 json으로 올려주고 GitHub action (generating-icon-files.yml)에서 optimize 하는 방향으로 테스트 완료

Description

Tasks

References

  • None
@yangwooseong yangwooseong added the epic Issue consisting of multiple issues of the same purpose label May 20, 2024
@yangwooseong yangwooseong self-assigned this May 20, 2024
Copy link

channeltalk bot commented May 20, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Issue consisting of multiple issues of the same purpose
Projects
Status: 📌 Backlog
Development

No branches or pull requests

1 participant