[wp-trac] [WordPress Trac] #52158: Twenty Twenty-One: Clean up CSS build process
WordPress Trac
noreply at wordpress.org
Mon Jan 18 17:52:14 UTC 2021
#52158: Twenty Twenty-One: Clean up CSS build process
------------------------------+---------------------
Reporter: ryelle | Owner: ryelle
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: Bundled Theme | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------
Changes (by ryelle):
* owner: (none) => ryelle
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"49980" 49980]:
{{{
#!CommitTicketReference repository="" revision="49980"
Twenty Twenty-One: Remove duplicate CSS rules.
Introduces a new PostCSS plugin, `postcss-discard-duplicates`, which will
automatically remove any duplicate CSS rules. All the CSS that is removed
shows up again later in the file. This also fixes a bug from `postcss-css-
variables`, where media queries are duplicated.
Fixes #52158.
Props poena.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52158#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list