[wp-trac] [WordPress Trac] #50627: CSS Build process: Consider removing autoprefixer from the source folder.

WordPress Trac noreply at wordpress.org
Tue Mar 9 07:35:32 UTC 2021


#50627: CSS Build process: Consider removing autoprefixer from the source folder.
------------------------------+------------------------------
 Reporter:  youknowriad       |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  css
------------------------------+------------------------------

Comment (by youknowriad):

 My original thinking here is that we should remove any build step for the
 source folder and only keep the raw source in the src folder, any built
 files should be git ignored and  only generated in CI and such.

 For the CSS part (last I checked), we do build file and put them in the
 CSS folder, which means there's a cycle where the  actual source files are
 not entirely written by hand,  they are written and then modified using
 the build tool (and repeat).

 > Another thing worth considering is if our main uses for postcss are IE-
 related, we may not need it for much longer:

 Yes, that's a good point unless we start writing using PostCss or Sass
 like we do in Gutenberg to ease maintenance in the future. (For instance
 to define mixins, variables....)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50627#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list