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

Replace momentjs with dayjs or luxon to drastically reduce bundle size #7022

Closed
cktang88 opened this issue Nov 28, 2019 · 1 comment · Fixed by #7025
Closed

Replace momentjs with dayjs or luxon to drastically reduce bundle size #7022

cktang88 opened this issue Nov 28, 2019 · 1 comment · Fixed by #7025

Comments

@cktang88
Copy link
Contributor

Replace to reduce bundle size. Moment.js is about 20x heavier than dayjs and does basically the same thing :(
Day.js https://github.com/iamkun/dayjs
Luxon https://moment.github.io/luxon/

@medikoo
Copy link
Contributor

medikoo commented Nov 28, 2019

@cktang88 thanks for request, PR is welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants