ai / ai/autoprefixer-rails

An option to skip vendor/gem assets

Open
#159 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
1.2k
Forks
109
PR merge metrics
No merged PRs in 30d

Description

Should there be a way to skip vendor and gem assets? In one of my projects a lot of CSS comes from vendor assets and gems (e.g. engines, such as `tolk`). All of them are processed by autoprefixer by default. Most of the gems and assets usually have their css with prefixes already.

You can also have admin dashboards etc where you control what browsers are used and there's no need to add prefixes to these CSS files

Main motivation: performance. Based on my benchmarks I could shave off ~5s (out of 20s) by being able to omit certain CSS files that don't need auto-prefixing.

What would be your thoughts about this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.