Skip to content

Added autoprefixer-rails assets pipeline

Luke "Jared" Bennett requested to merge add-autoprefixer-to-assets-pipeline into master

What does this MR do?

Adds autoprefixer-rails to assets pipeline. This uses autoprefixer.yml to query Can I Use to find and apply required vendor prefixes.

Are there points in the code the reviewer needs to double check?

WIP, I am next removing all existing uses of prefixes in the stylesheets.

To dry run rake autoprefixer:info.

If you want to modify the config file, run rake tmp:clear.

Currently the output of rake autoprefixer:infois:

Browsers:
  Chrome for Android: 50
  Firefox for Android: 46
  Android: 50, 4.4.3-4.4.4
  Chrome: 51, 50
  Edge: 13, 12
  Firefox: 46, 45
  IE: 11
  IE Mobile: 11, 10
  iOS: 9.3, 9.0-9.2
  Safari: 9.1, 9

These browsers account for 42.54% of all users globally

At-Rules:
  [bunch-o-at-rules]

Selectors:
  [bunch-o-selectors]

Properties:
  [bunch-o-properties]

Values:
  [bunch-o-values]

/cc @jschatz1 @connorshea

Why was this MR needed?

Automates one of the most important browser compatibility practises for stylesheets. Both development and reviewing gets easier.

What are the relevant issue numbers?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

Merge request reports