Skip to content

Consider how to handle autoprefixer usage #119

@alexgibson

Description

@alexgibson

I just noticed today we're using autoprefixer in our Sass compile step. This makes many of our mixins redundant, and is actively overwriting their output, which may cause some confusion or unexpected results.

My immediate reaction was "yay, let's remove a whole bunch of our mixins 🎉 ", but on further thought doing this would have some wider implications that may require some discussion. On sites such as bedrock for example, we're not using auto-prefixer (yet, but we could in future if we needed) but we would want to compile our own Sass. Compiling from source that no longer uses our mixin library would result in no vendor prefixes at all, which is something we probably don't want.

We either need to switch to autoprefixer and make it a recommendation/warning for all sites that compile from source to handle that in their own build step, or we need to carry on using the mixin library.

Thoughts?

Metadata

Metadata

Assignees

Labels

Bug 🪲Something isn't workingDiscussion 🚲Something we need to discussP3Third level priority - Nice to haveSize: XSEst. half-day of work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions