cssinjs/jss
View on GitHubIssue with SheetRegistry.toString({format: false}) minifyer - part of the css is not minified
Open
#1566 opened on Oct 19, 2021
bugcomplexity:lowhelp wantedneeds reproductionneeds tests
Description
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):
- react-jss: 10.8.0
- Browser [e.g. chrome, safari]: chrome
- OS [e.g. Windows, macOS]: macOS Feel free to add any additional versions which you may think are relevant to the bug.
Managing expectations:
Maintainers will not be fixing the problem you have unless they have it too, if you want it to get fixed:
- Submit a PR with a failing test
- Discuss a solution
- Implement it
You can also do the first step only and wait for someone else to work on a fix. Anything is much better than nothing.