Auto-prefixing SCSS in Meteor?

Is there a package that will handle all vendor prefixes and variations of CSS (for IE10, e.g.)? Currently I just lug a long file of mixins around with me:

@mixin flex($size) {
  flex: $size;
  -webkit-flex: $size;
}

@mixin flex-direction($direction: row) {
  flex-direction: $direction;
  -webkit-flex-direction: $direction;
}

// ... etc etc.

What is everyone else using to handle this? An NPM package is fine, though I’m using fourseven:scss so it might have to be a Meteor package.

1 Like

PostCSS and Autoprefixer maybe? :wink: https://atmospherejs.com/juliancwirko/postcss there is version 1.0.0-rc.2 for Meteor 1.3-rc.2 (docs for this version: https://github.com/juliancwirko/meteor-postcss/tree/meteor-1.3-in-progress)

2 Likes

Nice! Thank you, I’ll check that out soon. :slight_smile: