Tree shaking CSS
laygir opened this issue Β· comments
Ozgur Atmaca commented
Hello,
I am using Vite + Vuetify 3 and there is about 20K lines of unnecessary css in my output.
Is it possible to purge the unused styles from the final bundle or is this Vite's job?
Also not sure if this is the best place to ask this π
Kael commented
You can disable utility classes: https://vuetifyjs.com/en/features/sass-variables/#basic-usage
Otherwise vuetifyjs/vuetify#3507, vuetifyjs/vuetify#12512, vuetifyjs/vuetify#13724