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

Tree shaking CSS #291

Closed
laygir opened this issue Feb 7, 2023 · 1 comment
Closed

Tree shaking CSS #291

laygir opened this issue Feb 7, 2023 · 1 comment
Labels

Comments

@laygir
Copy link

laygir commented Feb 7, 2023

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 🙏

@KaelWD
Copy link
Member

KaelWD commented Feb 23, 2023

You can disable utility classes: https://vuetifyjs.com/en/features/sass-variables/#basic-usage

Otherwise vuetifyjs/vuetify#3507, vuetifyjs/vuetify#12512, vuetifyjs/vuetify#13724

@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants