Autoprefixer: Don't prefix SCSS only CSS

Created on 6 May 2018  路  3Comments  路  Source: postcss/autoprefixer

I use your awesome tool with visual code. I want not i autoprefix my scss files, but only my miified css file.. Is there a way?
I'm not using gulp or grunt, just the extension in VC.

Thanks, Keviin :)

Most helpful comment

Hi. You should ask question to VC plugin author.

Autoprefixer is a plugin for PostCSS. PostCSS has a SCSS syntax support and can change SCSS sources. So You can run Autoprefixer on SCSS sources.

But I think VC plugin just has a code to block running Autopefixer on SCSS code. So you should ask plugin author to remove this code.

All 3 comments

Hi. You should ask question to VC plugin author.

Autoprefixer is a plugin for PostCSS. PostCSS has a SCSS syntax support and can change SCSS sources. So You can run Autoprefixer on SCSS sources.

But I think VC plugin just has a code to block running Autopefixer on SCSS code. So you should ask plugin author to remove this code.

Also, I highly recommend starting to use postcss-cli instead of VC plugin. It is a more flexible solution.

Waw.. Fast reply! I'll check it out.. Thank you guys :)

Was this page helpful?
0 / 5 - 0 ratings