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
additionalStylesheets
The test added in #87 acts as a reproduction.
The basic gist of the issue is that the pattern used for additionalStylesheets can match the main CSS file, which causes its styles to be duplicated.
If we use a pattern like *.css, the sheet's contents will be added once from additionalStylesheets() and again from embedLinkedStylesheets().
*.css
additionalStylesheets()
embedLinkedStylesheets()
It seems that in the past the use of cssnano deduped these styles and hid the issue, though the current solution doesn't offer that same benefit.
cssnano
Not sure whether this is a regression or just chance behavior that was relied upon.
The text was updated successfully, but these errors were encountered:
document.head
I've run into this as well in the past week.
Sorry, something went wrong.
It looks like we'll need to bring back the option of running stylesheets through cssnano.
No branches or pull requests
The test added in #87 acts as a reproduction.
The basic gist of the issue is that the pattern used for
additionalStylesheets
can match the main CSS file, which causes its styles to be duplicated.If we use a pattern like
*.css
, the sheet's contents will be added once fromadditionalStylesheets()
and again fromembedLinkedStylesheets()
.It seems that in the past the use of
cssnano
deduped these styles and hid the issue, though the current solution doesn't offer that same benefit.Not sure whether this is a regression or just chance behavior that was relied upon.
The text was updated successfully, but these errors were encountered: