Closed (fixed)
Project:
Drupal core
Version:
main
Component:
CSS
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2026 at 10:05 UTC
Updated:
19 Mar 2026 at 09:50 UTC
Jump to comment: Most recent
PostCSS has moved on since we first adopted it, some of the config that we use seems obsolete. Let's simplify it as far as possible.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
longwaveSeems we can remove all the postcss-preset-env config now (but not the plugin itself), but everything else looks okay.
Also took the opportunity to clean up the formatting in compile.js.
Comment #4
smustgrave commentedhttps://github.com/csstools/postcss-plugins looking on this page I don't see any mention if features or stage were deprecated, but they certainly were removed from examples.
Some more googling makes it seem like this is obsolete, as you mentioned.
Comment #6
nod_Committed and pushed fee6f23faf4 to main. Thanks!