Sasspiler is written in golang to transpile easily .scss files to .css.
It uses wellington/go-libsass.
This method require golang.
go get github.com/dev2choiz/sasspilerThe command above will generate sasspiler binary in $GOPATH\bin
git clone git@github.com:dev2choiz/sasspiler.git
cd sasspiler
docker-compose up --buildThe sasspiler binary will be generated in ./bin
Then :
cp ./bin/sasspiler $GOPATH/bin/sasspiler --source=/absolute/scss/dir --dest=/absolute/css/dir --importDir=/absolute/scss/dir1,/absolute/scss/dir2 --verboseor
sasspiler -s=/absolute/scss/dir -d=/absolute/css/dir -i=/absolute/scss/dir1,/absolute/scss/dir2 -v--importDir argument can be ignored if there is not @import in your scss to transpile.
You can also transpile a unique file, in order for example to configure the file watcher of your IDE.
sasspiler --source=/path/to/file.scss --dest=/path/to/destination/file.css --importDir=/absolute/scss/dir1,/absolute/scss/dir2 --verbose