Open armen665 opened 3 years ago
cc @briganti
@armen665 can you provide a sandbox where I can reproduce the issue?
I think he is saying that font faces are not getting minified.
Yes, font faces and css variables are not getting minified.
Found it, the format
option doesn't work with @global
rule. PR incoming .
@armen665 can you confirm this was only happening with global rule?
@kof yes, in my case globals are not minified, everything else is minified properly.
@kof @briganti thank you for your quick actions.
Could you please tell when this will be live?
Expected behavior: Minify all the server-side CSS.
Describe the bug: Font faces and CSS variables are not getting minified In Next.js app.
Reproduction: Create CSS file with CSS variables and font faces, and get the registry string with
Registry.toString({format: false})
Versions (please complete the following information):
Managing expectations:
Maintainers will not be fixing the problem you have unless they have it too, if you want it to get fixed:
You can also do the first step only and wait for someone else to work on a fix. Anything is much better than nothing.