1

I am having a grunt file using which I am trying to convert SASS to CSS but I am unable to. I want to do it without using Ruby or Python. I only want to use NPM packages.

Akash Kool
  • 52
  • 5

2 Answers2

2

At the current date it is impossible.

Certain versions of node-sass have precompiled binaries, but if you aren't a supported platform then there's nothing you can do, install ruby or python.

See:

https://github.com/sass/node-sass/issues/1176

https://github.com/sass/node-sass/issues/2173

Node.js: Python not found exception due to node-sass and node-gyp

BookOfGreg
  • 3,550
  • 2
  • 42
  • 56
2

You can convert online using https://sass2css.herokuapp.com

And it provides several options / configurations. Such as

  1. Indent Style and Width
  2. Style Output
  3. Autoprefixer Toggle
0xdw
  • 3,755
  • 2
  • 25
  • 40
Tunji Oyeniran
  • 3,948
  • 1
  • 18
  • 16