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

Is there a way to minimize the css that is generated in SSR? #23948

Closed
1 task done
vicasas opened this issue Dec 10, 2020 · 1 comment
Closed
1 task done

Is there a way to minimize the css that is generated in SSR? #23948

vicasas opened this issue Dec 10, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@vicasas
Copy link
Member

vicasas commented Dec 10, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

In the implementation of Next.js with Material-UI I noticed that when reviewing the source code of my project, the CSS was injected but not minified.

My question or initiative is: How can the Material-UI css be minified in SSR?

image

Motivation 🔦

The motivation behind this is to be able to make the final code for production as small as possible, for better performance.

@vicasas vicasas added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 10, 2020
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 10, 2020
@oliviertassinari
Copy link
Member

Duplicate of #10068

@oliviertassinari oliviertassinari marked this as a duplicate of #10068 Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants