[wp-trac] [WordPress Trac] #52158: Twenty Twenty-One: Clean up CSS build process
WordPress Trac
noreply at wordpress.org
Tue Dec 22 17:24:32 UTC 2020
#52158: Twenty Twenty-One: Clean up CSS build process
---------------------------+-----------------------------
Reporter: ryelle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
The current Sass + PostCSS build process generates redundant code. The
Sass step generates source map files we don't use, and the PostCSS step
generates some duplicate code in `ie.css` & `ie-editor.css`. The PostCSS
issue is [https://github.com/MadLittleMods/postcss-css-variables/issues/67
a bug upstream], but we can work around it with
[https://github.com/cssnano/cssnano/tree/master/packages/postcss-discard-
duplicates postcss-discard-duplicates].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52158>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list