I have vue application with vuetify.
To have treeshaking in vuetify I need to import in this way: import Vuetify from 'vuetify/lib'; according to the docs.
In my vuetify application, I don't have v-dialog.
When I compile my app code with import Vuetify from 'vuetify' I can see in the dist js bundle - that have vuetify code I which I don't use (like v-dialog, v-dialog--animated).
When I compile with import Vuetify from 'vuetify/lib'; I don't see un-used code (I don't see v-dialog).
But the downside I have to declare each component I want to use.
Is there an easy way to do tree shaking? for example, I expect from vue to search for unused code in the vuetify bundle and remove it.