Skip to content

dev2choiz/sasspiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sasspiler

Sasspiler is written in golang to transpile easily .scss files to .css.
It uses wellington/go-libsass.

Installation with go get

This method require golang.

go get github.com/dev2choiz/sasspiler

The command above will generate sasspiler binary in $GOPATH\bin

Installation with docker-compose

git clone git@github.com:dev2choiz/sasspiler.git
cd sasspiler
docker-compose up --build

The sasspiler binary will be generated in ./bin Then :

cp ./bin/sasspiler $GOPATH/bin/

Usage

sasspiler --source=/absolute/scss/dir --dest=/absolute/css/dir --importDir=/absolute/scss/dir1,/absolute/scss/dir2 --verbose

or

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

About

A fast sass transpiler to css made with golang

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published