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

Does this support tree shaking? #5

Open
zomars opened this issue Oct 10, 2021 · 1 comment
Open

Does this support tree shaking? #5

zomars opened this issue Oct 10, 2021 · 1 comment

Comments

@zomars
Copy link

zomars commented Oct 10, 2021

Or is there a way to just import the needed methods? As of right now this package weights 15 times more than other alternatives:

image

Before:

image

In our use case, we're only using the addBusinessDays so any clues on optimizing the bundle are greatly appreciated.

@reediculous456
Copy link

Hello @zomars, If you want to use dayjs-business-days with TypeScript, check out dayjs-business-days2

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

No branches or pull requests

2 participants