Replies: 2 comments
-
Could someone in the date-fns team answer that. My webpack report says 141kb for date-fns against 10kb for day-js !! |
Beta Was this translation helpful? Give feedback.
0 replies
-
What I see from the high perspective.
It will bring all 6kb of its code to your bundle. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/you-dont-need/You-Dont-Need-Momentjs#brief-comparison
dayjs
(OO and no tree-shaking) is only 2.6kb while this package is easily 10kb+ even with tree-shaking (built and tested myself).Is there anything that can be done to reduce this package to the size of
dayjs
?Beta Was this translation helpful? Give feedback.
All reactions