armin-pfaeffle / sass-autocompile

Automatically compiles SASS files on save ‒ package for atom.io
https://atom.io/packages/sass-autocompile
MIT License
49 stars 16 forks source link

Autoprefixer #34

Open robsonsobral opened 8 years ago

robsonsobral commented 8 years ago

Hi!

Please, is it possible to auto prefix the compiled file?

Thank you for the package and for your attention.

armin-pfaeffle commented 8 years ago

Hey!

Hm, interessting idea!

I usally use special SASS code to do that. Is this prefixer working well? I never used such prefixer-addons.

robsonsobral commented 8 years ago

Autoprefixer is awesome, but I never used it on Atom. It just makes a week I'm using Atom.

As you, I prefer to keep all my code clean, instead of write the prefixes by myself. It's also easier to config AutoPrefixer than to keep track of the prefixes that are really necessary and discard the old ones, even using mixins.

A sample setting:

{
    "browsers": [
        "last 3 versions",
        "> 10%",
        "ie 9",
        "ie 8",
        "Firefox ESR",
        "iOS 7"
    ]
}

I think it's a good improvement to your addon. But I really don't know if it's easier for you to use the original AutoPrefixer or @sindresorhus's package.

robsonsobral commented 8 years ago

Hi! I just found something that maybe could interest you: Pleeease!

jerone commented 8 years ago

I don't use all features from Compass, but I like the cross-browser compatibility mixins. As adding Compass seems to be a bit trickier then feasible, another solution like Autoprefixer or Pleeease would be great.

jerone commented 8 years ago

For Less there's a variant package that supports PostCSS; https://github.com/tnottu/less-postcss-autocompile

simonurmi commented 8 years ago

For Less there's a variant package that supports PostCSS; https://github.com/tnottu/less-postcss-autocompile

An excellent package. Similar functionality for SCSS would be awesome.

onetrev commented 7 years ago

Just wondering if there is any movement on bringing Autoprefixer into this awesome Sass compiler? Definitely would be handy! With things like flexbox being quite popular now, it gets pretty ugly if you put in vendor prefixes into your source code manually. Thanks!!

richardbushell commented 7 years ago

+1 Would be fantastic to implement or chain this with: https://github.com/sindresorhus/atom-autoprefixer

Any chance please?