codeforamerica / honeycrisp-gem

A Rails gem with base styles and Javascript for Code for America products
http://honeycrisp.herokuapp.com
MIT License
24 stars 8 forks source link

Add autoprefix to asset:package #287

Closed coltborg closed 3 years ago

coltborg commented 3 years ago

When using Honeycrisp in a Rails environment, autoprefixer-rails is used to vendor prefix all CSS.

When running the rake assets:package task, the CSS does not go through the autoprefixer-rails process and thus does not get vendor prefixed. This makes the outputted CSS have less support for older browsers.

coltborg commented 3 years ago

Created #288 as it's not important to make sourcemaps works right now for clients.

coltborg commented 3 years ago

PR ready for review.