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

[Refactor] 번들 크기 개선 - 2 #435

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

eonseok-jeon
Copy link
Member

@eonseok-jeon eonseok-jeon commented Aug 24, 2024

Related Issue : Closes #431


🧑‍🎤 Summary

  • date-fns import 범위 축소

🧑‍🎤 Screenshot

개선된 건 PR 3에서 확인할 수 있어요

🧑‍🎤 Comment

😈 date-fns import 범위 축소

필요 없는 부분들 까지 같이 import 되고 있더라고요?
예를 들어 ko가 아닌 다른 나라 locale 등등
스크린샷 2024-08-25 오전 2 53 49
스크린샷 2024-08-25 오전 2 53 55
정말 필요한 부분만 import 되도록 범위 수정해 줬어요

사실 그렇다할 유의미한 차이(0.01kb 감소)는 없었는데요 build 시간을 조금 단축(0.5s 단축)할 수 있었어요
스크린샷 2024-08-25 오전 2 59 56

Copy link

height bot commented Aug 24, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@auto-assign auto-assign bot requested a review from lydiacho August 24, 2024 17:54
@eonseok-jeon eonseok-jeon linked an issue Aug 24, 2024 that may be closed by this pull request
Copy link
Member

@lydiacho lydiacho left a comment

Choose a reason for hiding this comment

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

완전 좋습니두 ~~~ 👍 👍 👍

@@ -122,7 +122,7 @@ const FinalResult = () => {
<div style={{ overflow: 'auto', height: '100%' }}>
<div className={contentWrapperVar[deviceType]}>
<Title>결과 확인</Title>
<Content pass={pass} />
<Content pass={true} />
Copy link
Member

Choose a reason for hiding this comment

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

⚠️ 잊지말고 복구 ! ! !

Base automatically changed from refactor/#431_bundle-size-3 to develop August 30, 2024 01:02
@eonseok-jeon eonseok-jeon merged commit baee17b into develop Aug 30, 2024
@eonseok-jeon eonseok-jeon deleted the refactor/#431_bundle-size-2 branch August 30, 2024 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] 번들 크기 개선
2 participants