SCSS Autoprefixer in PhpStorm

Viewed 1599

I am trying to configure SASS/SCSS Autoprefixer in phpstorm and no solution here or anywhere on google is working for me, any help is appreciated...

I have tried many options including making a custom file watcher and using postcss-cli autoprefixer, but not able to get it right.

1 Answers

As it's written in this comment, there is no built-in support for autoprefixer, and it can hardly be expected in near future. If you miss it, please vote for WEB-37.

You can install the autoprefixer (npm install postcss-cli autoprefixer -g) and set it up as a file watcher, for example

enter image description here

You can also try using sass-prefix-mixins in your code

Related