Skip to content

Fix: bundle size for JS#4522

Merged
adamw merged 1 commit into
softwaremill:masterfrom
j-mie6:lazy-time
Apr 12, 2025
Merged

Fix: bundle size for JS#4522
adamw merged 1 commit into
softwaremill:masterfrom
j-mie6:lazy-time

Conversation

@j-mie6

@j-mie6 j-mie6 commented Apr 12, 2025

Copy link
Copy Markdown
Contributor

CookieWithMeta also pulls in scala-java-time, so these two Codecs have also been made lazy as per #4500. I've confirmed this is the minimal set to avoid the dependency entirely, saving a full 1.12MB of bundle size (a further ~0.4MB can be saved on other codecs)

@adamw adamw merged commit 0e39c9d into softwaremill:master Apr 12, 2025
@adamw

adamw commented Apr 12, 2025

Copy link
Copy Markdown
Member

Thanks for the follow-up :)

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