We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Can we somehow minify streamed styles using CleanCSS? I tried to pipe styles stream however, the writable stream does not support pipe method :)
The text was updated successfully, but these errors were encountered:
What do you want to achieve by minification? CSS is produced in a the shortest way and represents all optimizations being applied during CSS generation. The only difference - in dev mode it adds new line breaks - https://github.com/theKashey/used-styles/blob/master/src/parser/fromAst.ts#L7
Can you provide an example of a potential improvement?
Sorry, something went wrong.
@theKashey On screenshot above is html with minified CSS via CleanCSS, and below is without modification
We do this in the standard rendering way:
We have quite a lot CSS :)
No branches or pull requests
Hi,
Can we somehow minify streamed styles using CleanCSS? I tried to pipe styles stream however, the writable stream does not support pipe method :)
The text was updated successfully, but these errors were encountered: