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

Optimize production CSS to avoid the browser to download dead code #4865

Open
clemlesne opened this issue Feb 23, 2025 · 1 comment
Open
Labels
enhancement Anything you want improved

Comments

@clemlesne
Copy link

Describe the enhancement you want

Reduce unused rules from stylesheets and defer CSS not used to decrease bytes consumed by network activity.

PurgeCSS can be used for that. Next.js is supported out of the box.

@clemlesne clemlesne added the enhancement Anything you want improved label Feb 23, 2025
Copy link

linear bot commented Feb 23, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Anything you want improved
Projects
None yet
Development

No branches or pull requests

1 participant