Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Class methods tree-shaking #198

Closed
webistomin opened this issue Oct 25, 2020 · 0 comments · Fixed by #266
Closed

Class methods tree-shaking #198

webistomin opened this issue Oct 25, 2020 · 0 comments · Fixed by #266
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@webistomin
Copy link
Owner

Tree-shaking class methods in general is a difficult task (example). It would be great to rewrite this library on to simple functions since they're much easier to statically analyse.

So instead of loading 2.3Kb JS, you will get small 300-500b functions

@webistomin webistomin added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 25, 2020
@webistomin webistomin assigned webistomin and unassigned webistomin Oct 25, 2020
@webistomin webistomin pinned this issue Oct 31, 2020
@webistomin webistomin mentioned this issue Dec 26, 2020
Merged
@webistomin webistomin unpinned this issue Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant