[buddypress-trac] [BuddyPress Trac] #7791: Add Autoprefixer config to Gruntfile.js

buddypress-trac noreply at wordpress.org
Tue May 8 12:06:26 UTC 2018


#7791: Add Autoprefixer config to Gruntfile.js
------------------------------+-------------------------------------
 Reporter:  mercime           |       Owner:  netweb
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Contributions
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+-------------------------------------
Changes (by netweb):

 * keywords:  needs-patch => has-patch


Comment:

 The [attachment:7791.patch] patch is what should be committed, it adds a
 `postcss` Grunt task`grunt postcss` that parses
 [https://github.com/postcss/autoprefixer Autoprefixer] across BP's CSS
 including compiled SCSS.


 The [attachment:7791-css-changes.patch] is the result of having applied
 the [attachment:7791.patch] and running `grunt build`,  `*.css` and
 `*.rtl-css` files in the `/src` folder will have their ''vendor prefixes''
 updated, in acual fact there are only ''vendor prefixes'' removed, no
 additions are required.

 Ref: WordPress' supported browsers
 https://make.wordpress.org/core/handbook/best-practices/browser-support/


 ----

 To test this patch, apply [attachment:7791.patch] and run `npm install`
 followed by `grunt postcss` and `svn diff` should result in the same
 results as is contained in [attachment:7791-css-changes.patch].

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7791#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list