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
I tried using the clean-css option to import / process remote @import statements ({ inline: ['remote'] }).
clean-css
@import
{ inline: ['remote'] }
This option however only works when the clean-css function is called with a callback.
Example based on "How to process remote @imports correctly:
var source = '@import url(http://example.com/path/to/remote/styles);'; new CleanCSS({ inline: ['remote'] }).minify(source, function (error, output) { // output.styles });
Since the html-minifier-terser currently does not support async minifyCSS this is not working.
html-minifier-terser
minifyCSS
Async minification for JS was implemented based on this Issue: #49
Maybe CSS is similar to achieve?
The text was updated successfully, but these errors were encountered:
Fixed in v7.0.0-alpha.2
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I tried using the
clean-css
option to import / process remote@import
statements ({ inline: ['remote'] }
).This option however only works when the
clean-css
function is called with a callback.Example based on "How to process remote
@import
s correctly:Since the
html-minifier-terser
currently does not support asyncminifyCSS
this is not working.Async minification for JS was implemented based on this Issue: #49
Maybe CSS is similar to achieve?
The text was updated successfully, but these errors were encountered: