You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.
Adding tree-shaking is low hanging fruit since this module will have every component registered globally.
You can go through each components template and log where it is called and how many times.
You can go through each components $options and see where state is called and how many times.
If a component is not called, or an action/mutation is not called, it can be flagged for removal, or at least warn the developer that a component is being bundled that is never actually used.
In a production build, the unused components can simply be left out of the final build.
The text was updated successfully, but these errors were encountered:
This is a great idea indeed! Unfortunately I'm currently busy with my projects but I'll definitely consider this one. For now, a pull request would be very very welcome ✌
Adding tree-shaking is low hanging fruit since this module will have every component registered globally.
You can go through each components template and log where it is called and how many times.
You can go through each components $options and see where state is called and how many times.
If a component is not called, or an action/mutation is not called, it can be flagged for removal, or at least warn the developer that a component is being bundled that is never actually used.
In a production build, the unused components can simply be left out of the final build.
The text was updated successfully, but these errors were encountered: